Developer Tools
Format, minify, validate, view, encode and decode JSON, HTML, CSS, JavaScript, TypeScript, PHP, SQL, XML, JWT and more. Everything runs locally in your browser.
Formatters
JSON Formatter
Format and beautify JSON with configurable indentation and optional key sorting. Errors are reported with exact line and column.
HTML Formatter
Beautify messy or minified HTML into clean, indented markup using Prettier, right in your browser.
CSS Formatter
Format CSS, SCSS and Less stylesheets into readable, consistently indented code.
JavaScript Formatter
Beautify JavaScript and JSX with Prettier. Choose indentation, quotes and semicolons.
TypeScript Formatter
Format TypeScript and TSX code with Prettier, including types, generics and decorators.
PHP Formatter
Beautify PHP code following PSR-style formatting with the Prettier PHP plugin.
SQL Formatter
Format SQL queries for MySQL, PostgreSQL, SQLite, SQL Server and more with keyword casing options.
XML Formatter
Pretty print XML documents with proper indentation. Malformed XML is reported with its location.
YAML Formatter
Format and normalise YAML files with consistent indentation using Prettier.
Minifiers
JSON Minifier
Minify JSON by removing all unnecessary whitespace. Shows the size saved.
HTML Minifier
Minify HTML by removing comments and collapsing whitespace while preserving pre, textarea, script and style blocks.
CSS Minifier
Minify CSS by stripping comments and whitespace to reduce stylesheet size.
JavaScript Minifier
Minify and mangle JavaScript with Terser for smaller bundles. Supports modern ES syntax.
XML Minifier
Minify XML by removing comments and whitespace between tags.
SQL Minifier
Compress SQL queries onto a single line, removing comments and redundant whitespace.
Validators
JSON Validator
Validate JSON syntax and pinpoint errors by line and column. Shows structure statistics for valid documents.
XML Validator
Check that XML is well-formed and find the exact location of syntax errors.
YAML Validator
Validate YAML syntax and see the parsed result as JSON.
Regex Tester
Test JavaScript regular expressions with live match highlighting, capture groups and flags.
Viewers
Encoders & Decoders
Base64 Encode / Decode
Encode text to Base64 or decode Base64 to text with full UTF-8 and URL-safe support.
URL Encode / Decode
Percent-encode or decode URLs and query string components.
HTML Entity Encode / Decode
Escape special characters as HTML entities or decode entities back to text.
JWT Decoder & Verifier
Decode JSON Web Tokens, inspect header and claims, check expiry and verify HMAC signatures locally.
JWT Generator
Create signed JSON Web Tokens with HS256, HS384 or HS512 from a custom header and payload.
Unicode Escape / Unescape
Convert text to \uXXXX escape sequences and back, including emoji and astral characters.
Utilities
Case Converter
Convert text between camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, Title Case and more.
URL Parser
Break a URL into protocol, host, path, query parameters and fragment.
Word & Character Counter
Count characters, words, lines, sentences and bytes, with estimated reading time.