Analytics cookies
We would like to use Google Analytics and Sentry session replay to see how the site is used. They are off until you say yes. What each one receives.

Code formatter, JSON beautifier, XML viewer, hex converters and more
Code Beautify is a free, browser-based suite of developer utilities for formatting, validating, minifying and converting code and data. It covers JSON, XML, HTML, CSS, JavaScript, SQL, YAML, CSV and Excel alongside hundreds of smaller converters, encoders and generators. Everything runs in the browser with no signup required, and the site is funded entirely by advertising rather than a paid plan.
Formats, minifies and validates JSON with an expandable tree view, configurable indentation from 1 to 10 spaces, big-number handling, and one-click export to XML or CSV.
Beautifiers and minifiers for HTML, CSS, JavaScript, SQL, XML, Java, C#, PHP, Lua, ActionScript and MXML, each with its own dedicated editor page.
Syntax checking for JSON, XML, CSS, JavaScript, YAML and TOML that reports the error location so malformed input can be traced and fixed.
Two-way conversion between JSON, XML, YAML, CSV, TSV, SQL, TOML and Excel, plus JSON to TypeScript interfaces, PHP arrays, JSONL and JSX.
Base32, Base58 and Base64 encode/decode, URL and HTML encoding, UTF-8 and hex conversion, JWT decoding, MD5/SHA-256/SHA-512 hashing, HMAC generation and gzip compression.
Image to Base64 and back, PNG/JPG/BMP/GIF conversion, SVG viewing and formatting, GIF splitting, pixelation and screenshot beautifying.
Paste a minified JSON payload from a log or API call and get an indented, collapsible tree view to find the field you need.
Run malformed JSON, XML, YAML or CSS through the matching validator to get the line and column of the break instead of a vague parser message.
Turn a JSON export into CSV for a spreadsheet, an Excel sheet into JSON for a fixture, or a SQL result into YAML, without writing a throwaway script.
Decode a JWT to inspect its claims, Base64 an image for an inline data URI, or generate a SHA-256 hash to verify a value while debugging.
Start using Code Beautify today and boost your productivity.
Visit WebsiteConversion between HEX, RGB, HSV, CMYK and named colortones, plus length, weight, volume, area, time, Unix timestamp and CSS unit (REM/PX) converters.
A free optional account (email or Google sign-in) lets you save formatted output to a shareable link, bookmark favourite tools and revisit recent items.
A browser extension puts the most-used formatters and viewers one click away without navigating to the site.
Diff and list comparison, sorting, case and text cleaning, word and character counters, regex-free find and replace, Markdown/HTML conversion and table generators.
Get a working formatter on a locked-down corporate laptop or a borrowed machine where installing an IDE extension is not an option, using only non-sensitive data.
Simple, free, fully responsive one-page sites