Code Formatters
Minified or hand-edited code is hard to review. These formatters re-indent HTML, CSS and SQL so the structure is visible again, and can minify CSS and SQL when you need compact output.
Formatting changes whitespace, not meaning, but whitespace-sensitive content (such as HTML inside <pre> tags) can be affected — review the output before pasting it back into production code. For JSON, use the JSON Formatter.
All Code Formatters (4)
- HTML FormatterBeautify messy HTML markup with syntax highlighting and a live sandboxed preview.Open HTML Formatter
- CSS FormatterBeautify or minify CSS stylesheets with size savings stats and syntax highlighting.Open CSS Formatter
- SQL FormatterBeautify or minify SQL queries with proper indentation, keyword casing and structure.Open SQL Formatter
- Markdown EditorWrite and preview markdown with GitHub-flavored markdown support. Live preview as you type.Open Markdown Editor