JSON Formatter
Pretty-print JSON, minify it, or check that it parses in the page. Comments, trailing commas, and single quotes fail. It does not turn the result into CSV.
Format, encode, minify, and convert data in the browser
23 tools in this category.
Developer tools format and convert data in the browser. The JSON Formatter pretty-prints with two-space indentation, minifies, or validates. It uses the browser’s JSON parser, so comments, trailing commas, and single quotes fail. {"a":1,} is reported as invalid JSON at position 7. JSON and CSV converters run only after the input parses. Base64 encodes text as UTF-8 and is not encryption. Hash tools compute SHA-256, SHA-384, or SHA-512 and cannot reverse a hash. A regular expression is tested against the sample you type.
Use them when you want a result on the page without installing a package. Minifiers and converters follow the rules of each format, so invalid HTML, CSS, JavaScript, or Markdown is rejected instead of silently rewritten. Color tools turn a 3-digit, 6-digit, or 8-digit hex value into RGB and HSL, check contrast, and build a CSS gradient or box shadow. Pasted text stays in the tab. A document over the tool’s size cap is rejected so the page stays usable.
Pretty-print JSON, minify it, or check that it parses in the page. Comments, trailing commas, and single quotes fail. It does not turn the result into CSV.
Encode text to Base64 or decode it back, using UTF-8. Anyone can decode the result, so it is not a way to hide a password. A file drop is not accepted.
Generate one or many UUID v4 values in your browser using a secure random source.
Encode or decode URL components in your browser with encodeURIComponent.
Convert Unix timestamps to dates and dates back to timestamps, in seconds or milliseconds.
Convert 3-digit, 6-digit and 8-digit hex colors to RGB, RGBA and HSL in your browser.
Encode or decode HTML entities in your browser. Input is treated as text, not executed.
Minify HTML in your browser with a conservative pass that keeps pre, textarea, script and style content.
Minify CSS in your browser while preserving strings, URLs, comments and important spacing.
Minify JavaScript in your browser with a parser. The code is not executed.
Check WCAG contrast between foreground and background colors, with pass/fail for AA and AAA.
Build linear, radial or conic CSS gradients, or gradient text, and copy the CSS or HTML.
Tune offset, blur, spread and color, then copy a CSS box-shadow value.
Convert Markdown to HTML source in your browser. Raw HTML is escaped and not executed.
Convert HTML source into Markdown in your browser. Input is treated as text and is not executed.
Turn an array of JSON objects into CSV, including commas and quotes inside cells.
Turn CSV with a header row into JSON, including quoted commas and escaped quotes.
Test a regular expression against sample text and see each match, its position, and its groups.
Create a SHA-256, SHA-384, or SHA-512 digest of text in your browser. This is a hash, not encryption.
Convert a date and time between two time zones using the browser time-zone list.
Decode a JSON Web Token header and payload in your browser. The signature is not checked.
Build .gitignore text from Node, Next.js, environment, and other templates, plus your own patterns.
Build a five-field cron expression or explain one. Sunday is 0. Month and weekday names are not accepted.
Guide
JSON is a text format for objects and arrays. See how to read it, why it fails to parse, and how to format it in the browser.
Read guideGuide
Split a hex color into red, green, and blue pairs and convert each pair from base 16 to a number from 0 to 255.
Read guideGuide
Encode a URL component with encodeURIComponent, or decode a percent-encoded string back to text.
Read guideGuide
Turn seconds or milliseconds since 1970-01-01 UTC into a UTC date, or turn a UTC date back into a timestamp.
Read guideGuide
Replace <, >, &, and quotes with entities so markup is shown as text, or turn those entities back into characters.
Read guideGuide
Compare two solid colors and read the WCAG 2 ratio, including AA and AAA for normal and large text.
Read guideGuide
Build a linear, radial or conic CSS gradient from at least two color stops and copy the background or gradient text CSS.
Read guideGuide
Set one offset, blur, spread, color, and opacity, then copy a single box-shadow declaration.
Read guideGuide
Turn a JSON array of objects into CSV. The first row is the keys, and commas inside cells are quoted.
Read guideGuide
Use the first CSV row as keys and turn each following row into a JSON object.
Read guideGuide
Run a JavaScript regular expression on sample text and read each match, its index, and its capture groups.
Read guideGuide
Hash pasted text with SHA-256, SHA-384, or SHA-512. The hex is a fingerprint, not a way back to the text.
Read guideGuide
Read a five-field cron expression. When both day fields are set, cron matches either day, not both.
Read guideGuide
Build .gitignore text from Node, Next.js, environment, and other templates. Generating the text does not update a repository.
Read guideGuide
Encode text to Base64 after UTF-8, or decode it back. The result is not encryption.
Read guideGuide
Generate 1 to 100 random UUID version 4 values. They are not sequential keys or passwords.
Read guideGuide
How to read a JWT header and payload, and why that does not verify the signature.
Read guideGuide
How to convert the same instant between two time zones, without turning it into a Unix timestamp.
Read guide27 tools
Everyday calculation tools
Browse tools15 tools
Tools for writing and text processing
Browse tools18 tools
Browser-based image and PDF tools
Browse tools12 tools
Links, slugs, QR codes, and passwords
Browse tools6 tools
Prompt builders and writing tools, with optional Gemini AI
Browse tools