PrettifyPrettify
DocsHome
Getting started
  • Getting started
Formats
  • JSON
  • JSONL and NDJSON
  • YAML
  • CSV and TSV
  • XML
  • RSS and Atom feeds
  • Mermaid
  • Markdown
  • MDX
  • HTML
  • SVG
Views
  • Views overview
  • Diagram view
  • Chart view
Queries
  • jq queries
  • SQL queries
  • XPath queries
Editing tools
  • Search and replace
  • Format conversion
  • Transforms
  • Type generation
  • JSON Schema validation
  • Diff and compare
  • Split view
Your documents
  • Tabs
  • History and versions
  • Sharing
  • Privacy and your data
Desktop app
  • Desktop app
  • Keyboard shortcuts
Pro
  • Prettify Pro
Help
  • Troubleshooting

Docs / Views

Views overview

Last updated: October 23, 2026

Prettify shows one document in several view modes. Each view presents the same data in a different way: a tree, raw text, a table, a node diagram, a chart, a rendered preview, an image, or a feed reader. The available views depend on the format. This page lists every view and shows how to switch.

The view modes

ViewWhat it showsPro
TreeA collapsible tree of keys and valuesFree
RawThe formatted source text, with editingFree
TableRows and columns, with sort and filterFree
DiagramA node graph of the structurePro
ChartA line, bar, scatter, or pie chartFree, multi-column is Pro
PreviewA rendered diagram (Mermaid) or document (Markdown, MDX), or a sandboxed page (HTML)Free
ImageAn SVG, drawn as an image, with zoom, pan, backgrounds, and a size stripFree
FeedRSS and Atom items as a reading listPro
BothSource and Preview side by side (Markdown, MDX, HTML), or source and Image (SVG)Pro

The Tree, Raw, and Table views are free. The Diagram view and the Feed view are Pro. The Chart view is free for one column; plotting more than one column at once is Pro.

Free users get one free try of each Pro view per day.

Which formats get which views

FormatViews
JSONTree, Raw, Table, Diagram
JSONLTree, Raw, Table, Diagram
YAMLTree, Raw, Table, Diagram
CSVTable, Raw, Tree, Chart
XMLTree, Raw, Table, Diagram, Feed
MermaidPreview, Raw
MarkdownPreview, Raw, Both
MDXPreview, Raw, Both
HTMLPreview, Raw, Both
SVGImage, Raw, Both

The Feed view appears for XML only, and only when the document is an RSS or Atom feed. The Chart view appears for CSV. See CSV and RSS and Atom feeds.

Switch the view

Select a view tab at the top of the editor. The tabs show only the views the current format supports.

You can also switch from the Command Palette:

  1. Press Cmd+K (Mac) or Ctrl+K (Windows, Linux).
  2. Type the view name, for example view table.
  3. Select the command.

On the desktop app, the View menu switches between Tree, Raw, Table, and Diagram.

Export a view

Each view exports what you see.

  • Tree and Chart export a PNG or SVG image.
  • Table exports a CSV file with the same columns as the table. A nested object shows as dotted columns, such as address.city, and an array shows as JSON text in one cell.
  • Raw uses the Download button in the toolbar.
  • Diagram exports a PNG or SVG image from its own menu.
  • Mermaid Preview exports a PNG or SVG image.
  • Image has Download in the toolbar, and the SVG Tools panel copies the SVG or a React component. SVG Tools is Pro.
  • Markdown and MDX Preview export HTML, and PDF on the web. Export is Pro.

Related pages

Getting started, Diagram view, Chart view, RSS and Atom feeds, Split view, Tabs, Keyboard shortcuts.

Try it online

Tool pages for this topic. Each one runs in your browser.

  • JSON Viewer
  • JSON Tree Viewer
  • CSV Viewer
  • XML Viewer
PreviousSVGNext Diagram view
On this page
  • The view modes
  • Which formats get which views
  • Switch the view
  • Export a view
  • Related pages
Prettify·Home·All docs·Contact·Changelog·Open app·llms.txtPermalink