Reklaamid hoiavad need tööriistad tasuta
Me kõik vihkame reklaame. Samas oleme veendunud, et need oleksid siin võimalikult vähe tungivaid, ja töö nende tööriistade kokkupanekul ning ülalpidamisel tuleb kuidagi kinni maksta — seega ei saa me töööriista avada, kui reklaamiblokaator on sisse lülitatud.
Loa usefulutils.org oma blokaatoris ja laadi uuesti: uBlock Origin või AdGuard — klõpsa tööriistariba ikoonile ja suurele toitenupule; Brave — klõpsa lõvile (Kilbid) ja aseta madalale. Brauserid, mis poliitika tõttu iga päringu blokeerivad (mõned privaat- või ärirežiimid), vajavad samuti lubatud nimekirja.
Endiselt blokeeritud. Lisa usefulutils.org lubatud nimekirja ja laadi leht uuesti.
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.
Korduma kippuvad küsimused
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.
Tekst ja Kood
- 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