Format and minify JSON, JavaScript, TypeScript, HTML, CSS and more with Prettier
JSON Formatter and Code Formatter pretty-print and minify code with Prettier directly in your browser. It supports JSON, JSON5, JavaScript, TypeScript, HTML, CSS, SCSS, Markdown, YAML, GraphQL, and more, so you can clean up snippets without installing anything.
Format JSON or any supported snippet in seconds:
Your code never leaves your browser - Prettier runs locally with no server round-trip.