JSON Formatter
Pretty-print JSON with 2, 4 spaces or tabs. Keeps big numbers and strings exactly as written and flags duplicate keys. Runs entirely in your browser.
LocalFast utilities to format, validate, convert and generate data. Everything runs in your browser: we never send or store what you type.
Search by name, technical alias or category, in English or Spanish.
No tool matches your search.
Pretty-print JSON with 2, 4 spaces or tabs. Keeps big numbers and strings exactly as written and flags duplicate keys. Runs entirely in your browser.
LocalCheck whether JSON is valid per RFC 8259 and get the exact line and column of the first error, plus duplicate key warnings.
LocalStrip whitespace and line breaks from JSON without touching string contents or number precision.
LocalConvert JSON to YAML 1.2, quoting ambiguous strings (yes, no, 0123…) so they keep their type. Warns about numbers other parsers may round.
LocalConvert YAML to JSON with a safe schema: rejects custom tags and duplicate keys and limits aliases to prevent expansion attacks.
LocalIndent XML while respecting mixed content and xml:space="preserve". DTDs and external entities are rejected: nothing is fetched or expanded.
LocalCheck whether XML is well-formed and see the error line and column. Does not validate against DTD or XSD and never resolves external entities.
LocalConvert XML to JSON with a documented convention (@attributes, #text) and a clear list of what is lost: order across different elements, comments and namespace declarations.
LocalEncode UTF-8 text or hex bytes to standard or URL-safe Base64 and decode with strict alphabet and padding checks.
LocalPercent-encode or decode text for a URL component or a full URL, with clear errors for malformed % sequences.
LocalEscape <, >, &, quotes and optionally all non-ASCII as HTML entities, or turn entities back into literal text without rendering HTML.
LocalConvert UTF-8 text to hex bytes and back. Requires an even length and warns when bytes are not valid UTF-8.
LocalConvert text to \uXXXX, \u{…} or U+XXXX sequences and back, with surrogate pair validation.
LocalGenerate up to 1000 version 4 UUIDs (RFC 9562) with the browser’s cryptographic random generator. No server, nothing stored.
LocalGenerate version 7 UUIDs (RFC 9562): Unix millisecond timestamp plus random bits, sortable and monotonic within a batch.
LocalGenerate ULIDs (26 Crockford Base32 characters) with a 48-bit timestamp and 80 random bits, monotonic within a batch.
LocalCreate unbiased random passwords with the browser’s CSPRNG. Pick length and character sets; nothing is stored or sent.
LocalFormat SQL for PostgreSQL, MySQL, SQL Server or Oracle PL/SQL. Only whitespace changes: the query is never executed.
LocalGenerate a parameterized INSERT with dialect placeholders ($1, ?, @p1, :1) and a separate parameter list from a JSON object.
LocalGenerate CREATE TABLE DDL for PostgreSQL, MySQL, SQL Server or Oracle from a column list with allowed types.
LocalGenerate a parameterized UPDATE with a mandatory WHERE: no filter, no statement, so you never update a whole table by accident.
LocalTest ECMAScript regular expressions with flags, named groups and offsets. They run in a worker with a 1 s limit to stop catastrophic patterns.
LocalTurn text into a safe regular expression literal by escaping . * + ? ^ $ { } ( ) | [ ] \ and /.
LocalReplace regex matches using $1, $<name> and $& and see how many replacements were made. Time-limited.
LocalExtract every match or a specific capture group from text, one per line, ready to copy or download.
LocalCompare two texts line by line and see additions and deletions in diff format, without uploading either text.
LocalDecode a JWT header and payload and see exp, nbf and iat as dates. Decoding does not verify the signature: the content is untrusted.
LocalVerify a JWS signature with the algorithm you choose (HS, RS, PS, ES, EdDSA) and check exp, nbf, iss and aud separately. Rejects alg none.
LocalCompute SHA-256, SHA-384 or SHA-512 of UTF-8 text or bytes with Web Crypto and get the digest in hex or Base64.
LocalCompute HMAC-SHA256, HMAC-SHA384 or HMAC-SHA512 with a text, hex or Base64 key using Web Crypto.
LocalCompute the SHA-256 (or SHA-384/512) of a local file up to 50 MiB without uploading it: the file is read only in your browser.
LocalConvert Unix epoch seconds or milliseconds to UTC and time-zone dates, and ISO 8601 dates to epoch. The unit is always explicit.
LocalExplain a 5-field cron expression and compute its next run times in the time zone you choose, with daylight-saving behavior documented.
LocalLook up the meaning of any IANA-registered HTTP status code, with its reference specification.
LocalSplit pasted HTTP headers into name/value pairs, flag invalid names and duplicates, and redact sensitive values such as Authorization or Cookie by default.
LocalSplit a URL into scheme, host, port, path, query parameters and fragment per the WHATWG URL Standard. No request is ever made to the URL.
Local