Pretty JSON & XML

💬 Feedback

Supports: .xml · .json · SOAP · RSS · Atom · POM · SVG · API responses

What you can do with Pretty JSON & XML

View JSON as a table

Paste any JSON array or object and click View as Table. Repeated records become rows; common fields become sortable columns. See our guide to viewing JSON as a table for a walkthrough.

View XML as a table

RSS feeds, SOAP responses, product catalogs — any XML with repeated elements renders as a clean table with the most relevant fields surfaced.

Format & minify JSON / XML

One click to pretty-print with proper indentation, one click to compress to a single line. Auto-detects format and validates as it goes.

Inspect SOAP responses

WS-Security headers, encrypted envelopes, business payloads — fold the noise away and zoom into just the records you care about.

Browse RSS / Atom feeds

Paste a feed URL's response and see items as a sortable table — title, date, link, summary — with full search across all entries. Try it with our RSS feed example.

Preview base64 images in your data

Any base64-encoded PNG, JPEG, or SVG embedded in a field is decoded and shown as a clickable thumbnail right in the row.

Frequently asked questions

How do I view a JSON file online?

Paste your JSON into the editor above, or click Upload to load a .json file. Then click View as Table to see fields as columns, or View as Tree for a foldable structure. Everything runs in your browser — your data is never uploaded to a server.

How do I convert JSON to a table?

Paste or upload your JSON, then click View as Table. Repeated objects of the same shape become rows; their fields become sortable columns. Click any column header to sort, type in the search box to filter, click any row to expand its full detail.

How do I convert XML to a table?

Paste or upload your XML. The viewer auto-detects repeated elements (like RSS items, SOAP records, or product entries) and renders them as table rows with the most useful fields as columns. Works for SOAP, RSS, Atom, Maven POM, and any custom XML.

Is my data uploaded to a server?

No. All parsing, formatting, search, and rendering happens in your browser. Your JSON and XML are never sent to any server. The page is a single HTML file with no backend.

Can it handle large JSON or XML files?

Yes. The viewer handles 9 MB+ files using virtual scrolling for the table view (only ~50 rows in the DOM at a time) and lazy tree expansion. JSON parsing runs in a Web Worker to keep the UI responsive.

Does it work with SOAP responses and RSS feeds?

Yes. SOAP envelopes, RSS / Atom feeds, Maven POM files, SVG documents, and any XML or JSON API response render correctly. Repeated elements become table rows; nested structures become foldable subtrees.

How do I format or minify JSON?

Paste your JSON into the editor, then click Format (✨) to pretty-print it with proper indentation, or Minify (⤴) to compress it to a single line. Both buttons work on JSON and XML, auto-detecting the format.

Is it free? Do I need an account?

Yes, completely free with no signup. No account, no ads, no upload. Just open the site and paste your data.

Can it preview base64-encoded images embedded in JSON or XML?

Yes. Any field containing a base64-encoded PNG, JPEG, GIF, or SVG image is auto-detected and shown as an inline thumbnail. Click the thumbnail to zoom.

What file types does the viewer support?

.json, .xml, plus any text content that looks like JSON or XML — including SOAP responses, RSS / Atom feeds, Maven POM files, SVG, and API responses. Files are auto-detected by extension and content.

More tools & guides

Found this useful? ❤️ Support