Data Format and Encoding Tools

Structured text, made readable or moved between formats. Convert a spreadsheet export to JSON, cut a CSV down to the columns you need, tidy a minified API response, turn JSON into YAML for a config file, format SQL or XML so it can actually be read, and encode or escape a string so it survives a URL, a data URI or a source file.

Every Data & Encoding tool

CSV

CSV to JSON reads a delimited file — comma, tab, semicolon or pipe, detected or chosen — and produces an array of objects keyed by the header row, with numbers and booleans typed if you want them. It copes with quoted fields, embedded commas and line breaks inside cells, which is where hand-rolled conversions fall over. CSV columns lets you select, reorder and rename columns and export the reduced file. CSV formatter aligns a file into readable columns for inspection, or normalises quoting and delimiters before handing it to another system.

JSON and YAML

The JSON formatter pretty-prints with your chosen indent, minifies, sorts keys and reports the exact position of a syntax error rather than just "invalid". JSON to YAML converts in both directions, which is useful because YAML is what most configuration files want and JSON is what most APIs return. The YAML formatter normalises indentation and quoting and flags the tab characters and duplicate keys that YAML parsers reject.

XML

XML to JSON maps elements, attributes and text nodes to an object structure, with settings for how attributes are prefixed and whether repeated elements become arrays. The XML formatter indents a single-line document so its structure is visible, or collapses it again for transport.

SQL

The SQL formatter takes a query written on one line or pasted from a log and lays it out with keywords on their own lines, clauses indented and joins aligned, in the dialect you choose. Keyword case is an option. It formats; it does not run anything, so it is safe to paste a query containing production table names.

Subtitles

SRT to VTT converts subtitle files in both directions — fixing the timestamp separator, adding or dropping the WEBVTT header, renumbering cues and stripping the markup the other format cannot carry — with an optional time shift for subtitles that run consistently early or late.

Encoding and escaping

Base64 turns any bytes into a safe alphabet of 64 characters, which is why it appears in email attachments, data URIs, JWTs and API keys; the tool encodes and decodes text and files, with the URL-safe variant and padding options. URL encoding replaces the characters that are not allowed in a URL with percent sequences and decodes anything with %20 in it. Text to hex shows each byte's hexadecimal value with a choice of separator. The string escaper prepares text for a literal in JSON, JavaScript, Python, Go, SQL, shell or HTML, and the HTML entity encoder swaps the characters that would otherwise be read as markup.

Size and privacy

Each tool parses in your browser, so files of several megabytes are fine and nothing is uploaded. Customer exports, API keys buried in a config and internal schemas never leave your machine.