---
title: "Prettify Documentation: Guides for Every Feature"
description: "Guides for every Prettify feature: JSON, YAML, CSV, and XML
  formats, views, jq, SQL, and XPath queries, conversion, history, sharing, the
  desktop app, and Pro."
url: https://prettify.tools/docs
---

# Prettify documentation

Prettify views, edits, queries, and converts JSON, YAML, CSV, XML, Mermaid, Markdown, MDX, HTML, and SVG. It runs in your browser and as a desktop app. Your documents stay on your device. These pages explain each feature.

[New to Prettify? Start here.Open the Prettify editor, paste or open a file, load a URL, try an example, and find the view or tool you need for your data.](https://prettify.tools/docs/getting-started)

## Formats

- [JSONOpen, validate, and format JSON in Prettify. See how it detects JSON, accepts comments, keeps large numbers exact, and reports errors.](https://prettify.tools/docs/json)
- [JSONL and NDJSONPrettify detects JSON Lines (NDJSON), shows it as JSON, and writes it back line by line. See how views, bad lines, and conversion work.](https://prettify.tools/docs/jsonl)
- [YAMLRead, validate, and reformat YAML in Prettify. See multi-document files, anchors, merge keys, comment handling, and conversion to JSON.](https://prettify.tools/docs/yaml)
- [CSV and TSVOpen CSV and TSV in Prettify. See delimiter detection, headers below a preamble, ragged rows, chart and SQL options, and conversion to JSON.](https://prettify.tools/docs/csv)
- [XMLOpen, validate, and pretty-print XML in Prettify. See attributes, views, XPath queries, feeds, and conversion to JSON, YAML, and CSV.](https://prettify.tools/docs/xml)
- [RSS and Atom feedsLoad RSS and Atom feeds in Prettify by URL or paste. The Tree and Raw views and conversion to JSON are free. The Feed view and Refresh are Pro.](https://prettify.tools/docs/rss-feeds)
- [MermaidEdit Mermaid diagrams in a split editor with live preview. Insert templates, fix validation errors, and export as SVG or PNG. Free in Prettify.](https://prettify.tools/docs/mermaid)
- [MarkdownEdit Markdown in an editable Preview or a Raw view, format with Prettier, and edit frontmatter in a card. Pro adds Outline, export, and Skill Check.](https://prettify.tools/docs/markdown)
- [MDXFormat MDX with Prettier and preview JSX components as labeled boxes. Imports, exports, and expressions stay as written. Free in Prettify.](https://prettify.tools/docs/mdx)
- [HTMLView an HTML page in a safe Preview where scripts never run and remote images stay blocked unless you allow them. Format with Prettier, edit side by side with Pro.](https://prettify.tools/docs/html)
- [SVGView an SVG as an image with zoom, backgrounds, and icon sizes. Scripts never run. Pro adds Optimize, Unique IDs, and a React component.](https://prettify.tools/docs/svg)

## Views

- [Views overviewSee every Prettify view: Tree, Raw, Table, Diagram, Chart, Preview, Image, and Feed. Learn which formats support each view and how to switch.](https://prettify.tools/docs/views)
- [Diagram viewThe Pro Diagram view draws JSON, YAML, and XML as a node graph. Expand nodes, change layout, export images, and see schema errors on nodes.](https://prettify.tools/docs/diagram-view)
- [Chart viewPlot CSV columns as line, bar, scatter, or pie charts. One column is free; plotting more than one column at once is Pro.](https://prettify.tools/docs/chart-view)

## Queries

- [jq queriesRun jq queries in Prettify to filter, reshape, and extract JSON. Learn how to open the panel, apply a result, and which builtin functions work.](https://prettify.tools/docs/jq)
- [SQL queriesQuery a CSV file in Prettify with SQL. Use SELECT, WHERE, GROUP BY, ORDER BY, aggregates, and functions. See the supported syntax and limits.](https://prettify.tools/docs/sql)
- [XPath queriesQuery XML and feeds in Prettify with XPath 1.0. Select nodes, attributes, and text, use functions, and work with namespaces. See examples.](https://prettify.tools/docs/xpath)

## Editing tools

- [Search and replaceFind text in the Tree, Table, or Raw view with plain text or a regular expression. Replace one match or every match. Free in Prettify.](https://prettify.tools/docs/search-and-replace)
- [Format conversionConvert JSON, JSONL, YAML, CSV, and XML on your device. See what each format drops, and batch convert many files with Pro.](https://prettify.tools/docs/conversion)
- [TransformsSort keys alphabetically, format Markdown with Prettier, and build jq queries with the visual Transform Wizard. Sort and format are free.](https://prettify.tools/docs/transforms)
- [Type generationGenerate TypeScript, Go, Kotlin, Rust, or JSON Schema types from a JSON or YAML document. Powered by quicktype and free in Prettify.](https://prettify.tools/docs/type-generation)
- [JSON Schema validationValidate JSON or YAML against a JSON Schema with Ajv. Use a preset, a URL, a pasted schema, or an auto-detected one. A Pro feature.](https://prettify.tools/docs/json-schema)
- [Diff and compareCompare the open document with pasted data. See a text diff with word highlighting, or a semantic diff of JSON and YAML. A Pro feature.](https://prettify.tools/docs/diff)
- [Split viewOpen two documents side by side or stacked, each with its own tabs, format, and views. Focus a pane to act on it. A Pro feature.](https://prettify.tools/docs/split-view)

## Your documents

- [TabsOpen, close, switch, rename, and duplicate tabs in Prettify. Tabs persist across navigation and restarts. The Dashboard lists recent documents.](https://prettify.tools/docs/tabs)
- [History and versionsPrettify saves your documents and versions on your device. See what history keeps, the Free and Pro limits, and how to reopen, compare, and clear it.](https://prettify.tools/docs/history)
- [SharingShare a Prettify document by link. Free links carry the document in the URL. Pro short links handle large files and expire after one year.](https://prettify.tools/docs/sharing)
- [Privacy and your dataHow Prettify handles your data: what stays on your device, the full list of network requests, and how to turn analytics off in Settings.](https://prettify.tools/docs/privacy)

## Desktop app

- [Desktop appInstall the Prettify desktop app for macOS. Windows and Linux builds are also available. Open files from your file manager and work offline.](https://prettify.tools/docs/desktop-app)
- [Keyboard shortcutsEvery Prettify keyboard shortcut, grouped by task: Command Palette, paste, tabs, search, split view, editing, and desktop app menus.](https://prettify.tools/docs/keyboard-shortcuts)

## Pro

- [Prettify ProPrettify Pro unlocks query panels, schema validation, diagrams, diff, split view, and full history for a one-time US$19.99 with lifetime updates.](https://prettify.tools/docs/pro)

## Help

- [TroubleshootingFix common Prettify problems: parse errors, Load from URL failures, large files, license activation, offline limits, and clearing data.](https://prettify.tools/docs/troubleshooting)

## Structured data

```json
{
  "@context": "https://schema.org",
  "@type": "SoftwareApplication",
  "name": "Prettify",
  "url": "https://prettify.tools",
  "description": "Multi-format data viewer, editor, and query engine for JSON, YAML, CSV, XML, Mermaid, Markdown, MDX, HTML, and SVG",
  "applicationCategory": "DeveloperApplication",
  "operatingSystem": "Web, macOS, Windows, Linux",
  "offers": [
    {
      "@type": "Offer",
      "price": "0",
      "priceCurrency": "USD",
      "description": "Free tier with core features"
    },
    {
      "@type": "Offer",
      "price": "19.99",
      "priceCurrency": "USD",
      "description": "Pro: lifetime access to all features"
    }
  ],
  "publisher": {
    "@id": "https://prettify.tools/#organization"
  }
}
{
  "@context": "https://schema.org",
  "@type": "Organization",
  "@id": "https://prettify.tools/#organization",
  "name": "Prettify",
  "legalName": "Off Leash Labs",
  "url": "https://prettify.tools/",
  "logo": {
    "@type": "ImageObject",
    "url": "https://prettify.tools/icon-512.png",
    "width": 512,
    "height": 512
  },
  "contactPoint": {
    "@type": "ContactPoint",
    "contactType": "customer support",
    "email": "offleashlabs@gmail.com",
    "availableLanguage": "English"
  }
}
```
