Data and code
Format a payload, hash it, or encode it for a URL.
- Convert CSV to JSONPaste delimited text and it comes back as JSON. Quoted fields keep their separators and their line breaks, short rows are padded rather than dropped, and any value a number would damage stays a string.
- Hash some textType or paste, and five digests appear together. Change one character and watch every one of them change completely.
- Format and check JSONPaste a document and it comes back indented, counted and checked. If it does not parse, the line and column that stopped the reader appear with the character marked.
- Convert JSON to CSVPaste an array of objects and read the table out. The report underneath says what the flattening cost: which columns were absent from which rows, how deep the nesting went, and how many cells a spreadsheet would have treated as code.
- Minify a stylesheet, a script or a pagePaste a stylesheet, a script or a page. It comes back shortened, with the byte count before and after, and the same pair measured again through gzip.
- Encode a URL, or take one apartPercent-encode text for a URL, decode it back, or run it through Base64. Both percent-encoding rules appear together, because choosing wrongly between them is the bug this page exists to catch.
- Generate UUIDsPick a version and how many you want. Version 7 carries the time in its leading bits, so the identifiers sort into the order they were created and behave properly as database keys.
- Convert YAML to JSON, and backPaste a document and it comes back converted. Beside it: the anchors resolved, the duplicate keys with their line numbers, and every bare scalar whose type changes between YAML 1.1 and YAML 1.2.
About these tools
Pasting data into a website to reformat it is a habit worth breaking. A JSON payload from a staging environment or a CSV export from a billing system is exactly the kind of thing that should not be typed into someone else's text box, and the reformatting itself is a few kilobytes of code with no reason to run anywhere but here.
These tools parse and validate entirely in the page. A validator that finds an error reports the line and column rather than saying the document is invalid and leaving you to hunt.