JSON Formatter
Format, validate and beautify JSON data privately in your browser.
Code & Data In your browser
Code & Data
Tidy up YAML or convert between YAML and JSON. Paste your input, pick a mode, and copy the result. Everything is parsed in this browser.
Private by design: no text is uploaded or stored.
Private by design: no text is uploaded or stored.
Try an example
Updates when you change the input or the mode.
This converter handles the block-style YAML you write by hand: nested mappings and sequences, plain and quoted scalars (strings, numbers, booleans, null), and inline flow collections like [1, 2] and {a: 1}. Comments and document markers (---) are ignored. It does not support anchors and aliases, block scalars (| and >) or multiple documents in one file. YAML → JSON parses your YAML and emits pretty-printed JSON; JSON → YAML does the reverse; Format re-emits your YAML with consistent two-space indentation. Everything runs in your browser, so nothing you paste is sent anywhere.
0:23
Video · 0:23
Find the exact line and column in your YAML.
Format, validate and beautify JSON data privately in your browser.
Code & Data In your browser
Convert a JSON array of objects to CSV in your browser. Choose the delimiter, keep or drop the header row, with correct quoting. Nothing is uploaded.
Code & Data In your browser
Convert CSV to a JSON array in your browser. Choose the delimiter, use the first row as keys, pretty-print or minify, with RFC 4180 quoting. Nothing is uploaded.
Code & Data In your browser
Encode text to Base64 or decode Base64 to text instantly in your browser.
Code & Data In your browser
Decode a JSON Web Token (JWT) in your browser. Read the header and payload claims, see the algorithm and claim count. Nothing is uploaded and the signature is not verified.
Code & Data In your browser
Paste any color — HEX, RGB, HSL or a CSS name — and get every format at once, with a live swatch, RGB sliders, WCAG contrast and lighter/darker variants. Nothing is uploaded.
Code & Data In your browser
We value your privacy
We would like to use optional analytics cookies to understand how the site is used and improve it. Nothing is loaded until you choose, and you can change your decision at any time. Privacy policy