DevTilt

JSON Formatter

Turn minified API responses and config dumps into readable JSON. Choose your indent style, format in the browser, and copy the result for docs, PRs, or debugging.

Result

Result appears here.

How to format JSON

  1. Paste JSON into the input (minified, pretty-printed, or messy).
  2. Choose indent: 2 spaces, 4 spaces, or tab.
  3. Click Format, or press Ctrl+Enter (Cmd+Enter on Mac).
  4. Review the formatted output, then copy or download it.

What is JSON Formatter?

API responses and config files often arrive as a single unreadable line. This formatter expands nested objects and arrays with your chosen indentation so you can scan keys, spot missing fields, and share snippets in docs or pull requests without squinting at minified blobs.

Why use DevTilt's JSON Formatter?

  • 2-space, 4-space, and tab indent options
  • Handles minified single-line JSON from logs and network tabs
  • Ctrl+Enter shortcut for fast reformatting
  • 5 MB input limit for large payloads

Common use cases

  • Reading a minified API response in the browser devtools network panel
  • Preparing JSON samples for documentation or README files
  • Debugging nested config objects from environment variables
  • Normalizing JSON before pasting into a validator or diff tool

FAQ

No. Formatting only adds or removes whitespace and line breaks. Keys, values, and structure stay the same.
Yes. Paste a single-line JSON string from logs or network tabs — the formatter expands it with your chosen indentation.
You can use 2 spaces, 4 spaces, or a tab character. Pick the style that matches your project or team convention.
Inputs up to 5 MB are supported. Larger files should be split or processed with a local CLI tool.
No. Formatting runs entirely in your browser. Nothing is uploaded or stored on a server.