JSON Formatter
Formats, indents and validates JSON with precise error positions, key sorting and a…
Checks whether a UUID is valid and reports its version and variant, decoding the timestamp from v1, v6 and v7 identifiers.
The UUID Validator checks whether a UUID is valid and reports its version and variant, decoding the timestamp from v1, v6 and v7 identifiers. It runs as plain JavaScript inside the page, which means there is no upload step, no queue and no size limit imposed by a server — the only limit is your own device.
| Format | 32 hex digits as 8-4-4-4-12 |
|---|---|
| v4 | Random — the usual choice |
| v7 | Unix time then random, so it sorts |
| v1 and v6 | Encode a time and a MAC address |
| Nil UUID | All zeroes, meaning no value |
This tool uses the version is the first hex digit of the third group and the variant is the top bits of the fourth. Everything else is payload — random in v4, a timestamp in v1, v6 and v7. Every intermediate value is shown on screen, so the result can be checked by hand.
The braced, urn:uuid: and unhyphenated forms are accepted and normalised. A Microsoft GUID printed in its little-endian byte order will read as a different UUID here than in the tool that produced it.
Formats, indents and validates JSON with precise error positions, key sorting and a…
Checks whether JSON is valid and reports the exact line, column and reason for the first error…
Strips all whitespace from JSON to produce the smallest valid output, showing the bytes saved.
Converts a JSON array of objects into CSV, flattening nested keys and handling missing fields…
Turns CSV or TSV into a JSON array of objects, with type detection for numbers and booleans.
Converts JSON into well-formed XML with a configurable root element and array item naming.
Parses XML and converts it to JSON, preserving attributes and handling repeated elements as…
Converts JSON to clean YAML with correct indentation, quoting and multi-line string handling.
Parses YAML and outputs equivalent JSON, with support for anchors, lists and nested maps.
Escapes a string for safe embedding inside JSON, and unescapes a JSON string back to plain text.