title: Sz Encoding
role: manual
tags: #api #manual #reference #zettelstore
syntax: zmk
back: 00001004051200 00001007031300 00001007031400 00001008010500 00001012053500 00001012920500 00001012920525 00001012920528
backward: 00001004051200 00001007031300 00001007031400 00001008010500 00001012053500 00001012920500 00001012920525 00001012920528 00001012931000
box-number: 1
copyright: (c) 2020-present by Detlef Stern <ds@zettelstore.de>
created: 20220422181104
forward: 00001012930000 00001012931000
lang: en
license: EUPL-1.2-or-later
modified: 20250102214350
published: 20250102214350
visibility: public

A zettel representation that is a [s-expression](00001012930000) (also known as symbolic expression).

It is (relatively) easy to parse and contains all relevant information of metadata, content or the whole zettel.
For example, take a look at the Sz encoding of this page, which is available on the &ldquo;Info&rdquo; sub-page of this zettel:

* [/z/00001012920516?enc=sz&part=zettel](/z/00001012920516?enc=sz&part=zettel),
* [/z/00001012920516?enc=sz&part=meta](/z/00001012920516?enc=sz&part=meta),
* [/z/00001012920516?enc=sz&part=content](/z/00001012920516?enc=sz&part=content).

Some zettel provide a more detailed description of the [Sz encoding](00001012931000).

If transferred via HTTP, the content type will be `text/plain`.