JSON Format & Minify
Pretty-print JSON with 2-space indentation or collapse to one line. Validates syntax with line/column error messages.
Paste text directly into the editor, drop a file onto the canvas, or click Open to load a local file from your computer. The Text Studio accepts plain text, code, JSON, XML, HTML, CSS, Markdown, YAML, JavaScript, CSV, logs, and any other UTF-8 content — there is no file type restriction and no upload: everything is loaded into the browser and never leaves your device.
Every action lives in the toolbar above the editor. The most-used ones (New, Open, Save, Undo, Redo, Formatted Paste, Format) are primary icon buttons. Everything else is grouped into three dropdowns — Format (JSON / XML / HTML / CSS · format + minify, XML Validate), Encode (Base64 / URL / HTML entity · encode + decode, JWT Decode), and Tools (Find & Replace, Sort, Case, Dedupe, Trim, Hash, UUID, Lorem Ipsum, Timestamp, Color Convert, Number Base). Prefer the keyboard? Press Ctrl/Cmd+K to open the command palette and search any of the 30+ actions by name.
The active tool runs on the current document or selected range. Results appear inline in the editor or in a resizable side panel (XML Validate, Diff). Multi-tab support lets you keep several documents open at once. Syntax highlighting auto-detects the language and the editor remembers your caret position, theme, and recently used tools between sessions.
Copy the result with one click or save the file back to your disk in the original or a new format. Everything you do stays in your browser — there is no account required, no upload, no server roundtrip, and no telemetry on content. Close the tab and your text is gone from the site.
Pretty-print JSON with 2-space indentation or collapse to one line. Validates syntax with line/column error messages.
Indent elements and align attributes, or strip non-significant whitespace for production.
Validate XML against a pasted XSD schema with inline error squiggles in a resizable side panel.
Format HTML5 with consistent indentation, or minify by removing comments and whitespace.
Format CSS with consistent indentation. Understands grid, flexbox, variables, media queries, and @-rules.
Encode text to Base64 or decode back. Full Unicode support including emoji and non-Latin scripts.
Percent-encode strings for safe use in URL paths, query strings, and form bodies via encodeURIComponent.
Convert <, >, &, ", ' to their HTML entities to prevent XSS and display markup safely in documentation.
Decode header.payload.signature locally. Inspect alg, kid, aud, sub, iss, exp, and custom claims.
Compute SHA-1, SHA-256, SHA-384, or SHA-512 hex digests using the browser SubtleCrypto API. Useful for checksums, fingerprinting, content addressing, and cache keys.
Generate RFC 4122 v4 UUIDs using the cryptographically secure random number generator.
Insert a Lorem Ipsum paragraph as placeholder text for mockups and layout prototyping.
Floating draggable panel with case-sensitive, whole-word, and regex modes including capture groups ($1, $2).
Reorder lines alphabetically (A→Z or Z→A). Ideal for cleaning up CSV columns, lists, and import files.
Transform the document into UPPERCASE, lowercase, or Title Case for normalizing headings or imported data.
Delete exact duplicate lines while preserving the first occurrence — useful for de-duping email or import lists.
Strip leading and trailing whitespace from every line in the document.
Convert between Unix timestamps and human-readable dates. Shows ISO 8601, RFC 2822, locale, UTC, and live now.
Convert between HEX, RGB/RGBA, HSL/HSLA, and named CSS colors with a live swatch preview.
Convert numbers between binary, octal, decimal, and hexadecimal in one view. Handy for bitmasks and char codes.
Generate QR codes from any URL or text. Pick size, error-correction level, foreground / background colours; download as PNG or SVG.