About B4 Beautify
B4 Beautify is a free online tool that formats, validates and minifies code and text. It supports JSON, XML, HTML, CSS, SCSS, LESS, JavaScript, TypeScript, SQL, YAML, Markdown, GraphQL and plain text.
Why it exists
Developers, testers, analysts and students constantly paste API responses, config files, queries and logs into formatters. Many of those tools are slow, cluttered or upload your data to a server. B4 Beautify is built to be fast and simple, and private by design. All formatting happens inside your own browser, and nothing you paste is sent anywhere.
How it works
The formatters run on well-known open-source libraries, including Prettier, sql-formatter and Terser, loaded in your browser. JSON and XML are validated by your browser's built-in parsers.
Free to use
There's no sign-up, no limit and no charge. If you find a bug or want a new formatter, please get in touch.