JSON Formatter
Pretty-print, indent (2 or 4 spaces), and inspect structured JSON payloads safely.
Format SQL, HTML, CSS, JS, JSON, XML, and YAML, diff JSON or text, decode JWTs, hash files, generate random strings, UUIDs, and cron jobs, and convert CSV.
Format, validate, minify, diff JSON payloads, and convert YAML or CSV to JSON.
Pretty-print, indent (2 or 4 spaces), and inspect structured JSON payloads safely.
Check JSON syntax strictly against RFC 8259 and pinpoint syntax errors immediately.
Strip unnecessary whitespace and newlines from JSON to minimize payload size.
Compare two JSON objects or arrays structurally to highlight added, removed, and changed keys.
Parse YAML configuration files safely into formatted JSON with syntax error reporting.
Convert CSV text or .csv files to formatted JSON with custom delimiters, header detection, and RFC 4180 quotes.
Prettify SQL queries, HTML, CSS, JavaScript, and XML locally in the browser.
Format and beautify SQL queries across Standard SQL, PostgreSQL, MySQL, SQLite, and T-SQL.
Beautify or minify HTML markup cleanly in your browser using Prettier standalone formatting.
Beautify or minify CSS stylesheets with syntax validation and consistent indentation.
Beautify or safely minify JavaScript code without ever executing user-provided scripts.
Validate XML well-formedness using browser XML parsing and format tags with clean indentation.
Encode or decode Base64, URLs, HTML entities, and inspect JWT headers and claims offline.
Encode plain UTF-8 text or uploaded small files into clean Base64 strings.
Decode standard or URL-safe Base64 strings back into readable UTF-8 text.
Percent-encode query parameters (encodeURIComponent) or full URLs (encodeURI).
Decode percent-encoded URLs and query strings back into readable text.
Escape <, >, &, quotes, and optional non-ASCII characters into safe HTML entities.
Decode named (&, <), decimal ('), and hexadecimal (') HTML entities.
Decode JWT headers, payloads, and exp/iat/nbf timestamps locally without storing or sending tokens.
Test regular expressions, compare text blocks, hash payloads, and build UUIDs, random tokens, timestamps, or cron schedules.
Test JavaScript regular expressions with flags (g, i, m, s), match highlights, and capture groups.
Compare two text blocks line by line with additions, deletions, modifications, and whitespace options.
Compute SHA-256, SHA-384, and SHA-512 cryptographic digests for text or local files via Web Crypto.
Generate cryptographically random RFC 4122 Version 4 UUIDs individually or in bulk.
Generate cryptographic random alphanumeric, hexadecimal, alphabetic, or numeric tokens.
Convert Epoch timestamps (seconds or milliseconds) to ISO 8601 UTC and local time, and vice versa.
Build and validate 5-field POSIX cron schedules with presets and plain-English descriptions.