# Code Formatters

> Format, minify and escape JSON, SQL, CSS, HTML, JavaScript and XML.

- URL: https://qilingtools.com/en/tags/format
- Price: Free, no sign-up
- Privacy: Runs locally in the browser; files are never uploaded

## Tools (8)

- [JSON Formatter](https://qilingtools.com/en/json): Free online JSON formatter: beautify or minify, validate with the exact line and column of any error, browse a collapsible tree, sort keys and escape strings.
- [SQL Formatter](https://qilingtools.com/en/sql-format): Free online SQL formatter: beautify SELECT, JOIN, subqueries, CASE and WITH with clause line breaks and indentation, set keyword case, or minify to one line.
- [CSS Formatter](https://qilingtools.com/en/css-format): Free online CSS beautifier and minifier: one declaration per line, correct @media, nesting and url() handling, optional property sorting and a byte count.
- [XML Formatter](https://qilingtools.com/en/xml-format): Free online XML formatter: beautify or minify XML, validate it with line and column errors, keep comments and CDATA, and convert XML to JSON and back.
- [HTML Formatter](https://qilingtools.com/en/html-format): Free online HTML formatter: beautify or minify in one click, keep <pre> and <textarea> intact, format embedded CSS and JSON-LD, with a sandboxed live preview.
- [JavaScript Formatter](https://qilingtools.com/en/js-format): Free online JavaScript formatter: beautify or minify JS, TypeScript, JSX and JSON with 2/4-space or tab indent and line width. Handles regex, templates, ASI.
- [String Escape / Unescape](https://qilingtools.com/en/string-escape): Escape or unescape strings for JSON, JavaScript, Java, C#, C, Go, Python, SQL, bash, regex, CSV, XML and URL, with every changed character highlighted.
- [GraphQL Formatter](https://qilingtools.com/en/graphql-format): Format, minify and validate GraphQL queries and SDL: syntax errors with line and column, unused variables and fragments, curl and fetch snippets, a type graph.
