Code Beautifier

Developer Tools that Respect Your Privacy

Format, convert, and validate JSON, SQL, XML, CSV and more without sending confidential tokens, keys, or database schemas to remote servers.

Paste something and we’ll suggest matching tools as chips.

Or compare two tools side by side with the same paste.

Showing 101 tools
format

JSON Formatter

Format, validate, and explore JSON with a collapsible tree view.

Open
validate

JSON Validator

Instantly validate JSON syntax, identify errors with exact line and column locations, and fix formatting bugs.

Open
convert

JSON to CSV

Convert JSON arrays and nested objects into clean, downloadable CSV spreadsheets in seconds.

Open
convert

CSV to JSON

Convert CSV tabular data into structured JSON objects or arrays with automatic type detection.

Open
convert

JSON to XML

Convert JSON documents into clean, structured, and customizable XML markup instantly.

Open
convert

XML to JSON

Convert XML documents into readable, valid JSON objects with automatic type parsing and attribute preservation.

Open
format

XML Formatter

Format, beautify, and validate messy XML files with custom indentation and instant syntax error detection.

Open
format

SQL Formatter

Format messy SQL into readable, consistently indented queries.

Open
format

HTML Formatter

Clean up unformatted, messy HTML markup into well-indented, readable code with customizable line wrapping.

Open
format

CSS Beautifier

Format, organize, or minify CSS stylesheets with consistent indentation, selector spacing, and clean rule separation.

Open
format

JavaScript Beautifier

Format, un-minify, or compact JavaScript & TypeScript code into clean, readable scripts with custom indentation.

Open
convert

YAML to JSON

Convert YAML configuration files into structured JSON documents (or JSON to YAML) instantly.

Open
encode

Base64 Encode & Decode

Encode plain text to Base64 or decode Base64 strings to UTF-8 text with URL-safe encoding and automatic JSON formatting.

Open
validate

JWT Decoder

Decode JSON Web Tokens (JWT) client-side. Inspect header claims, payload data, expiration times, and token signatures.

Open
compare

Diff Checker

Compare two text or code snippets side-by-side to highlight added, removed, and modified lines instantly.

Open
convert

JSON to TypeScript

Generate strongly typed TypeScript interfaces and type aliases from sample JSON documents instantly.

Open
validate

Regex Tester

Test, debug, and validate Regular Expressions in real-time with capturing group extraction and flag controls.

Open
encode

UUID / ULID / NanoID

Generate or inspect UUID v4/v7, ULID, and NanoID identifiers in bulk — cryptographically random, fully offline.

Open
encode

Hash Generator

Generate cryptographically secure SHA-256, SHA-512, SHA-1, and MD5 message digests client-side.

Open
convert

Timestamp Converter

Convert Unix epoch seconds and milliseconds to human-readable UTC & Local date-time formats instantly.

Open
encode

URL Encode & Decode

Encode, decode, or parse URL query strings and percent-encoded query parameters instantly.

Open
convert

Markdown to HTML

Convert Markdown documents, tables, lists, and code blocks into clean, formatted HTML markup.

Open
convert

cURL to Code

Convert raw cURL shell commands into clean JavaScript Fetch, Axios, or Python requests code instantly.

Open
validate

Cron Parser

Translate complex cron expressions into human-readable English schedules and validate 5-part and 6-part cron syntax.

Open
convert

Color Converter

Convert between HEX, RGB, RGBA, and HSL color formats with channel breakdowns and CSS variable exports.

Open
format

JSON Minifier

Compress and minify JSON data by stripping all whitespace and line breaks to minimize payload size.

Open
format

SQL Minifier

Compress messy SQL queries into single-line statements by removing comments, blank lines, and unnecessary spaces.

Open
convert

HTML to Markdown

Convert HTML markup, tables, lists, and formatted content back into clean, readable Markdown syntax.

Open
convert

TOML to JSON

Convert TOML configuration files (Cargo.toml, pyproject.toml, Wrangler) into structured JSON documents.

Open
validate

Gzip Size Estimator

Measure uncompressed vs Gzip/Brotli compressed byte sizes and bandwidth savings directly in your browser.

Open
encode

JWT Generator

Generate and sign JSON Web Tokens (JWT) using HMAC-SHA256, HMAC-SHA384, or HMAC-SHA512.

Open
format

CSS Minifier

Compress and minify CSS stylesheets by removing whitespace, line breaks, and comments.

Open
convert

Markdown Table Generator

Convert CSV, TSV, or JSON data into perfectly aligned GitHub-Flavored Markdown tables.

Open
validate

JSON Schema Validator

Validate JSON documents against JSON Schema definitions using Ajv. Path-accurate structural error reports.

Open
encode

QR Code Generator

Generate clean, customizable vector SVG QR codes from URLs, text, Wi-Fi keys, and tokens.

Open
encode

URL Parser & Params Builder

Deconstruct URLs into protocol, host, port, path, hash, and structured query parameters with full decoding.

Open
encode

HTML Entity Encoder & Decoder

Convert special characters to named, decimal, or hex HTML entities and decode encoded HTML entities back to raw text.

Open
convert

Number Base & Radix Converter

Convert numbers instantly between Decimal, Binary, Hexadecimal, Octal, and ASCII with bit-length analysis.

Open
format

SVG Optimizer & CSS Data URI

Strip editor junk, comments, and redundant metadata from SVGs. Convert directly to CSS Data URI or React JSX.

Open
validate

Cron Expression Builder

Assemble and generate 5-part cron schedules from field parameters or text rules with human-readable descriptions.

Open
format

GraphQL Formatter & Minifier

Format, beautify, validate AST, and minify GraphQL queries, mutations, subscriptions, and SDL schemas.

Open
encode

Base64 Image & Data URI Converter

Convert between raw Base64 strings, Data URIs, HTML <img> tags, and CSS background rules with automatic MIME detection.

Open
encode

Bcrypt Hash Generator & Verifier

Generate secure salted Bcrypt password hashes ($2a$) or verify plaintext passwords against existing hashes locally.

Open
convert

YAML to TOML Converter

Convert configuration files seamlessly between YAML and TOML formats with full data type preservation.

Open
validate

JSONPath & JQ Query Evaluator

Test JSONPath expressions ($.store.book[*].author) against complex JSON payloads with instant match filtering.

Open
convert

Chmod Permissions Calculator

Convert between Linux octal permissions (755, 644, 777) and symbolic notations (rwxr-xr-x) with bit breakdown and security notes.

Open
convert

IP Subnet & CIDR Calculator

Calculate network range, broadcast IP, usable hosts, subnet mask, wildcard mask, and binary breakdown from any CIDR notation.

Open
validate

HTTP Headers & Security Inspector

Parse HTTP headers, audit critical security headers (HSTS, CSP, X-Frame-Options, CORS), and calculate a security grade.

Open
convert

TypeScript to JSON Schema Converter

Convert TypeScript interfaces and type definitions directly to valid Draft-07 JSON Schema specifications.

Open
validate

Regular Expression Generator

Generate battle-tested regular expressions with explanation, flags, test cases, and code snippets in JavaScript, TypeScript, Python, and Go.

Open
validate

OpenAPI Formatter & Validator

Validate OpenAPI 3 and Swagger 2 documents, then format them as readable JSON or YAML.

Open
convert

GraphQL to TypeScript

Generate readable TypeScript interfaces, enums, unions, and scalar types from GraphQL SDL.

Open
format

Dockerfile Formatter & Linter

Normalize Dockerfile instructions and catch common build mistakes before you ship.

Open
validate

GitHub Actions Workflow Validator

Format workflow YAML and catch missing jobs, runners, triggers, and steps before committing.

Open
validate

.env Formatter & Validator

Normalize environment variables and catch duplicate keys, malformed lines, and unsafe values.

Open
validate

Kubernetes Manifest Validator

Format multi-document Kubernetes YAML and catch missing metadata or workload containers.

Open
convert

.gitignore Generator

Combine curated .gitignore templates for Node, Python, Docker, and more into one deduplicated file.

Open
format

CSV/TSV Column Aligner

Turn raw CSV or TSV data into a plain-text table with aligned columns, like the Unix `column -t` command.

Open
validate

Certificate & JWK Inspector

Inspect X.509 PEM certificates, CSRs, private-key fingerprints, and JSON Web Keys locally — without uploading.

Open
convert

HAR to cURL / Fetch

Paste a Chrome DevTools HAR export and generate ready-to-run curl, fetch, or axios snippets.

Open
validate

JWE Decoder

Decrypt JSON Web Encryption (JWE) tokens with your own key, or inspect and validate them without one. Everything runs in your browser.

Open
convert

CSS to Tailwind

Heuristically map common CSS declarations to Tailwind utility classes.

Open
convert

SQL to ERD

Parse CREATE TABLE statements and export a Mermaid erDiagram with PK/FK annotations — client-side only.

Open
compare

Unified Patch

Generate git-style unified diffs, structured patch JSON, or apply a patch to original text — fully offline.

Open
convert

.gitignore Parser

Explain every .gitignore rule, count negations, and guess stacks to feed back into the generator — offline.

Open
convert

GraphQL to cURL

Turn a GraphQL operation (plus optional variables) into a ready-to-run curl command — entirely in-browser.

Open
convert

JSON Schema → Example

Generate sample JSON documents from a JSON Schema using defaults, enums, formats, and property heuristics.

Open
convert

JSON to YAML

Convert JSON into clean, correctly quoted YAML for Kubernetes manifests, Docker Compose files, and CI configs.

Open
validate

YAML Validator

Validate YAML syntax with exact line and column errors, multi-document support, and warnings for values YAML 1.1 parsers read differently.

Open
validate

XML Validator

Check that XML is well-formed and get the error code, line, and column, plus document stats when it passes.

Open
format

JSON Key Sorter

Sort JSON object keys alphabetically or naturally, at every level or just the top, and sort arrays of objects by a field.

Open
encode

JSON Stringify & Unstringify

Escape text into a JSON string, unescape it back, stringify a document for embedding, or decode double-encoded JSON.

Open
convert

JSONL to JSON Converter

Convert JSON Lines (NDJSON) to a JSON array and back, with the exact line number of any bad record.

Open
compare

JSON Diff

Compare two JSON documents structurally and see every added, removed, and changed value by path, ignoring key order.

Open
validate

JSON Repair

Fix broken JSON automatically: trailing commas, single quotes, unquoted keys, comments, Python literals, code fences, and truncated LLM output.

Open
convert

JSON to Zod

Generate Zod schemas and inferred TypeScript types from a JSON sample, with optional, nullable, and union fields detected across array items.

Open
convert

JSON to Go

Generate Go structs with json tags from a JSON sample: int64 and float64 detection, pointers and omitempty for optional fields, and Go-style initialisms.

Open
convert

JSON to Python (Pydantic)

Generate Pydantic v2 models, dataclasses, or TypedDicts from JSON, with snake_case fields, aliases for the original keys, and Optional where data can be missing.

Open
convert

JSON to Java

Generate Java records or POJOs from JSON with Jackson or Gson annotations, boxed types for nullable fields, and valid names for keys like class.

Open
convert

JSON to C#

Generate C# classes or records from JSON with System.Text.Json or Newtonsoft attributes, nullable types like long?, and required members.

Open
convert

JSON to Rust

Generate Rust structs with serde derives from JSON: Option<T> for optional fields, rename_all for camelCase APIs, and raw identifiers for keywords like type.

Open
convert

JSON to Kotlin

Generate Kotlin data classes from JSON for kotlinx.serialization, Moshi, or Gson, with nullable defaults for optional fields and backticks for keywords.

Open
convert

JSON to JSON Schema

Generate a JSON Schema from a JSON sample, with required fields, nullable types, and formats like email and date-time inferred from the data.

Open
convert

JSON Schema to TypeScript

Convert a JSON Schema into TypeScript interfaces and types, including $defs references, recursive schemas, enums, and nullable unions.

Open
encode

Password Generator

Generate strong random passwords and EFF wordlist passphrases in your browser, with the entropy of each shown in bits.

Open
encode

HMAC Generator

Compute HMAC signatures for webhooks and API requests, with the key as UTF-8 text, hex, or Base64, and output as hex or Base64.

Open
encode

AES Encrypt & Decrypt

Encrypt and decrypt text with AES-256-GCM and a key derived from your passphrase with PBKDF2-SHA256, entirely in your browser.

Open
encode

RSA, ECDSA & Ed25519 Key Generator

Generate a key pair in your browser with Web Crypto and export it as PEM or JWK, with a SHA-256 fingerprint of the public key.

Open
encode

TOTP Code Generator

Generate the current two-factor code from a Base32 secret or otpauth:// URI, with the previous and next codes for clock skew.

Open
validate

User Agent Parser

Parse User-Agent strings into browser, engine, OS, and device, and spot crawlers such as GPTBot and ClaudeBot in your logs.

Open
convert

Case Converter

Convert identifiers and text between camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, Title Case, and URL slugs.

Open
format

Sort & Remove Duplicate Lines

Sort lines naturally or alphabetically, remove duplicates keeping the first or last, reverse, or shuffle, with line endings preserved.

Open
encode

String Escape & Unescape

Escape text for a string literal in JavaScript, Java, C#, Python, Go, SQL, CSV, or a regular expression, and unescape it back.

Open
encode

Text to Hex & Binary

Convert text to UTF-8 hex or binary and decode it back, accepting plain, spaced, \xNN, %NN, and 0xNN input.

Open
validate

String Inspector

Count graphemes, code points, and UTF-8 bytes, and reveal bidi controls, zero-width characters, unusual spaces, and mixed-script words.

Open
convert

HTML to JSX

Convert HTML into JSX for React: className and htmlFor, camelCase SVG attributes, inline styles as objects, and void elements self-closed.

Open
format

HTML Minifier

Shrink HTML by collapsing whitespace and removing comments, without touching pre, textarea, script, style, or conditional comments.

Open
convert

Docker Run to Compose

Turn a docker run command into a compose.yaml service, with ports and environment values quoted so YAML can't retype them.

Open
convert

CSV to SQL

Turn CSV rows into CREATE TABLE and INSERT statements for PostgreSQL, MySQL, SQL Server, or SQLite, with column types inferred from the data.

Open
convert

JSON to SQL

Convert an array of JSON objects into CREATE TABLE and INSERT statements, flattening nested objects and storing arrays as JSON.

Open
validate

iframe Render Tester

Paste HTML and watch it render inside a sandboxed iframe at any viewport, then copy the exact embed snippet.

Open

Clean code. Private by default.

Every transform runs in your browser tab — no accounts, no rate limits, no paywalls.

Zero Data Retention

Production logs, tokens, and dumps stay on your device unless you explicitly share.

CodeMirror 6 Engine

Line numbers, syntax highlights, tree views, and keyboard shortcuts that feel like an IDE.

Free, No Signup

No account, no paywall. Free cheat sheets and references alongside the tools.

Everything else on Code Beautifier: 81 reference pages, guides and error fixes

Topics

Cheat sheets

Error fixes

Guides