Formatters & Code
JSON5-formateerder
Gratis JSON5-formateerder. Accepteert JSON met opmerkingen, afsluitende komma's en andere versoepelde syntaxis, en voert vervolgens strikte JSON uit. Handig voor configuratiebestanden die van de specificatie zijn afgeweken.
Redactionele opmerking
Understanding · JSON for humans.
Dit uitgebreide hoofdstuk is momenteel alleen in het Engels beschikbaar. De conversietool hierboven werkt in jouw taal; de lange uitleg is nog niet vertaald.
Veelgestelde vragen
Quick answers.
›What is JSON5?
A superset of JSON that allows comments, trailing commas, unquoted keys and a few other conveniences. It's the format of many config files (tsconfig, devcontainer, babel) and drift-prone hand-edited JSON.
›Does it handle single-quoted strings?
This tool handles the most common JSON5 drift — `// comments`, `/* block comments */` and trailing commas. For the full JSON5 spec (unquoted keys, single quotes, hex numbers) paste into a proper JSON5 parser locally.
›What does the output look like?
Strict, spec-compliant JSON — 2-space indented. Safe to feed to any JSON.parse or schema validator.
›Is it free?
Yes — fully free, in-browser, no signup.
Mensen zoeken ook naar
Gerelateerde tools
More in this room.
- JSON Formatter & ValidatorVerfraai, comprimeer en valideer JSON — gratis, geen aanmelding.
- SQL FormatterVerfraai en laat lelijke SQL-query's inspringen.
- XML Formatter & ValidatorVerfraai, comprimeer en valideer XML — direct.
- HTML FormatterVerfraai en comprimeer HTML — Prettier-defaults.
- CSS FormatterVerfraai en comprimeer CSS stylesheets.
- JavaScript / TypeScript FormatterPrettier-geformatteerde JS & TS, in de browser.