Reklamy udržují tyto nástroje zdarma
Všichni reklamy nesnášíme. Na druhou stranu jsme zajistili, aby tady byly co nejméně rušivé, a práci na sestavení těchto nástrojů a jejich provozu je třeba nějak zaplatit — takže vám nástroj nemůžeme zpřístupnit, dokud je zapnutý blokovač reklam.
Povolte usefulutils.org ve svém blokovači a stránku načtěte znovu: uBlock Origin nebo AdGuard — klikněte na ikonu v liště a velké tlačítko napájení; Brave — klikněte na lva (Štíty) a nastavte na Nízké. Prohlížeče, které z důvodu zásad blokují každý požadavek (některé soukromé nebo firemní režimy), také potřebují seznam povolených.
Stále blokováno. Přidejte usefulutils.org mezi povolené a stránku obnovte.
JSON Formatter
Paste JSON to beautify it with your choice of indentation, minify it to a single line, or just validate it — every edit instantly shows a clear valid/invalid status with the exact parser message when something is wrong. Everything runs in your browser, nothing is uploaded.
Formatting is validation
To prettify JSON the tool must first parse it, so a clean result is proof that your document is syntactically valid. If it is not, the status line shows the parser's exact complaint — Expected…, Unexpected token… — with the position, so you can jump straight to the problem. Common rejects: trailing commas, single-quoted strings, comments and unquoted keys, none of which are allowed by the JSON standard.
Key order, indentation options and privacy
The formatter uses the browser's native JSON.parse and JSON.stringify, so the order of keys is preserved exactly as in the input (JSON objects keep insertion order). Choose 2-space, 4-space, tab or single-space indentation for the pretty output, or minify to a single line — perfect for shrinking payloads and embedding JSON in URLs. The whole process is local: the data never touches a server, and the ?m= and ?i= URL parameters let you share your mode and indentation as a link.
Často kladené otázky
Does it keep the original key order?
Yes. The tool relies on native JSON.parse and JSON.stringify, which preserve the insertion order of object keys, so the formatted output lists keys exactly as they appear in your input.
What indentation options are available?
Two spaces (the de-facto default), four spaces, a tab character, or a single space. Beautify uses the selected indent; Minify ignores it and produces the shortest possible single-line output.
Why is my JSON reported as invalid?
JSON is stricter than JavaScript: trailing commas, comments (// or /* */), single quotes around strings and unquoted keys are all rejected. The status line shows the parser's own error message with the position of the problem so you can fix it fast.
Is my JSON uploaded to a server?
No. Parsing and formatting run locally in your browser with the built-in JSON engine — there are no server calls and nothing is stored, so sensitive data (tokens, user records, dumps) is safe to paste.
Text a Dev
- Case Converter — UPPER, lower, Title & sentence case
- Hash Generator — MD5, SHA-1, SHA-256 & SHA-512
- UUID Generator — Random UUID v4 on demand
- Password Generator — Strong passwords & passphrases