# Exporting Data > Export your journal as JSON, Markdown, or PDF. JSON preserves IDs, tags, and metadata; Markdown is human-readable; PDF creates a formatted A4 document. Source: https://fenmark.app/docs/export/ ## Opening the Export Dialog Click the **⋮** menu in the header and select **Export...**.  ## Built-In Export Formats ### JSON Export The JSON format is the primary structural export. It outputs a `metadata` block and an array of entries under the `"entries"` key: ```json { "metadata": { "application": "Fenmark", "version": "0.5.0", "exportedAt": "2024-01-15T12:00:00Z" }, "entries": [ { "id": 1, "date": "2024-01-15", "title": "My Entry", "text": "
Entry content as HTML...
", "dateUpdated": "2024-01-15T10:05:00Z", "tags": ["travel", "work"], "metadata": { "fontFamily": "Noto Serif", "fontSize": 16.0 } } ] } ``` Every entry includes a `"tags"` array (empty `[]` if the entry has no tags; tags are listed in alphabetical order) and an `"attachments"` array of `{ "name", "mime_type", "byte_size" }` objects (empty `[]` when there are none). The JSON file lists attachments by name only; it does not contain the file contents. Entries with font metadata include a `"metadata"` object containing `fontFamily` and `fontSize`; entries without entry-level font defaults have no `metadata` field. This format preserves entry IDs, timestamps, tags, and font metadata. It can be re-imported into Fenmark. The JSON importer automatically handles both the old Mini Diary date-keyed format and the new array format with optional metadata for backward compatibility. If the JSON contains embedded `data:image/...` content, Fenmark normalizes those images into its encrypted image store during import while preserving the visible content of the entry. Inline attachment references are removed on import, because the attachment files are not part of the JSON file. Stored image references (`image-id://` links, which a normal export never writes) are removed the same way, because they name images in a different journal. ### Markdown Export The Markdown export produces a human-readable text file, grouped by date. If a day has multiple entries, each appears under its own sub-heading. If an entry has tags, a `*Tags: …*` line is written immediately after the title (or date heading when there is no title) and before the entry body: ```markdown ## 2024-01-15 **My Entry** *Tags: travel, work* Entry content here... ``` Entries with no tags have no tags line. Tags appear in alphabetical order. Attachments are written as decrypted files into an `assets/` folder next to the Markdown file (named `attachment-