JSON Formatter
Format, validate, minify, and sort JSON — fully in your browser.
About JSON Formatter
Format, validate, minify, and sort JSON — fully in your browser. Everything runs locally in your browser — your data never leaves your device.
How to use
- Enter your input in the tool above.
- Adjust any options to your preference.
- Use the Copy or Download buttons to save the result.
- Everything happens locally — your data never leaves your browser.
FAQ
Is my JSON uploaded anywhere?
No. All processing happens locally in your browser. Your data never leaves your device.
What's the max size?
Large inputs (over 100KB) are processed in a background Web Worker so the UI stays responsive. There is no hard limit — your device's memory is the only ceiling.
Does this support JSONC (JSON with comments)?
Not yet. The formatter accepts strict JSON only. Comments and trailing commas will be reported as syntax errors with line and column.
Related tools
.bashrc / .zshrc Alias & Config Manager
Build shell aliases, functions, exports, and PATH edits in a visual editor, then export a clean, commented .aliases file sourced from both .bashrc and .zshrc — with shadowing detection against shell builtins and common CLI tools, function suggestions when args are needed, starter packs (git, docker, kubectl, navigation, safety, ls, dev, devops, data science), import of existing rc files, dedupe, history (localStorage), and shareable URL. 100% client-side.
Add / Subtract Date Calculator
Add or subtract years, months, weeks, days, hours, minutes and seconds from a starting date/time. Calendar-day or business-day mode with custom weekend + holiday list. Month-end policy toggle (clamp to last day vs overflow). Repeat/series mode (e.g. every 2 weeks x 10) with CSV export. Shareable URL. 100% client-side.
Add Line Numbers
Add sequential line numbers to text. Custom format, padding, start, step. Skip empty lines.