prawel.pl
Menu
All tools

JSON Formatter and Validator

Format, validate, minify, and sort JSON in your browser. Errors show the line and column so you can fix them quickly.

Get the app

Visual REST Client

Developer tool · VS Code, iPhone & iPad

Visual REST Client formats and searches JSON responses and includes a visual JSON editor for request bodies.

A graphical editor and secure, cookie-aware HTTP client for .rest and .http files, built directly into VS Code.

  • REST Client compatible
  • OAuth 2.0 + PKCE
  • MIT licensed

About this tool

Paste JSON to pretty print it with two spaces, four spaces, or tabs, or minify it to one line. Sort keys to compare two payloads.

When the JSON is invalid, the formatter shows the line and column where parsing stopped.

Runs entirely in your browser. Nothing you enter or open is uploaded.

Questions

Does it accept comments or trailing commas?
No. It checks strict JSON as defined by RFC 8259, which is what APIs expect.
Is there a size limit?
Only your browser's memory. Files of several megabytes format in a moment.