Convert your data formats, right in your browser
Free, privacy-first tools to convert and generate data formats — everything runs locally, nothing is uploaded.
Data format converters
- JSON to YAML — Ready for Your Config File Convert JSON to YAML. Indentation you choose, ambiguous values quoted, and a result that pastes straight into a Compose or CI file.
- YAML to JSON — Long IDs Kept Exact Convert YAML to JSON. Large integers keep every digit and several documents become an array, ready to feed to an API or a script.
- JSON to CSV — Open It in a Spreadsheet Turn a JSON array of objects into a spreadsheet. The keys become the header row, ready to open in Excel, Numbers or Google Sheets.
- CSV to JSON — Numbers Arrive as Numbers Turn a CSV table into an array of JSON objects keyed by the header row. Numbers and booleans come out typed, ready to sum or compare in code.
- JSON to XML — Valid XML, Ready to Paste Convert JSON to XML. One root element, tag names made legal and indentation you choose — ready for a SOAP body or a config file.
- XML to JSON — Attributes Included Convert XML to JSON. Attributes, repeated elements and text all land somewhere you can reach with a dot or a bracket in your code.
JSON to code generators
- JSON to TypeScript — Stop Typing Interfaces Turn a JSON sample into TypeScript interfaces. Nested objects get their own named types, so a payload becomes a file you paste and compile.
- JSON to Python — Pydantic, dataclass or TypedDict Turn a JSON sample into Python classes. Pick the style your project already uses and paste the result straight into models.py.
- JSON to Go — Structs That Drop Into Your File Turn a JSON sample into Go structs with json tags. Columns come out aligned the way gofmt would leave them, so the paste needs no cleanup.
- JSON to Rust — serde Structs Ready to Derive Turn a JSON sample into Rust structs with serde derives. Names become snake_case and the original key rides along, so from_str works first try.
- JSON to Java — Records Jackson Can Decode Turn a JSON sample into Java records. Boxed types and a Jackson annotation wherever a name had to differ, so the payload decodes as written.
- JSON to C# — Records System.Text.Json Reads Turn a JSON sample into C# records or classes. Every renamed property carries a JsonPropertyName attribute, so the deserializer still finds its key.
JSON to database schemas
- JSON to MySQL — A CREATE TABLE You Can Run Turn a JSON sample into a MySQL CREATE TABLE. Column types come from the values, and a string too long for VARCHAR(255) gets TEXT instead.
- JSON to PostgreSQL — Paste It Into psql Turn a JSON sample into a PostgreSQL CREATE TABLE. Strings become TEXT, nested values JSONB, and a key missing from some rows becomes nullable.
- JSON to Mongoose — A Model File to Require Turn a JSON sample into a Mongoose schema. One schema per object, required where the sample shows a value, ready to export as a model.
- JSON to Prisma — A Model That Migrates Turn a JSON sample into a Prisma model. The identifier every model needs is always there, so prisma validate passes and the migration runs.
- JSON to BigQuery Schema — bq load Takes It Turn a JSON sample into a BigQuery schema file. Fields from every row are merged, so the load succeeds on the first attempt rather than the third.
- JSON to Protobuf — A .proto protoc Compiles Turn a JSON sample into proto3 messages. Field names are repaired for protobuf and json_name keeps the original key, so both sides still agree.
Formatters, validators & diff
- JSON Formatter — Read a Minified Payload Indent JSON with the numbers left exactly as written. A twenty-digit ID keeps its digits and 1.0 stays 1.0, so you read the response, not a copy.
- JSON Minifier — Fewer Bytes Over the Wire Strip whitespace from JSON. Numbers keep their written form and strings keep their escapes, so the payload gets smaller and stays the same.
- JSON Key Sorter — A Diff You Can Review Sort JSON object keys alphabetically, at every level. Two files sorted the same way diff on what actually changed, not on key order.
- JSON Validator — The Line and Column to Fix Check that JSON parses, with the line and column when it does not. You go straight to the character that broke it instead of hunting for it.
- YAML Formatter — Comments and Anchors Survive Re-indent YAML while what it says stays put. Your comments and anchors come through, so the file is still the one you want to commit.
- YAML Validator — The Line Where It Stops Check that YAML parses: indentation, quoting, anchors, duplicate keys. When it stops parsing, you get the line, so you know where to look.
Encoding & decoding
- Text to Base64 — Safe in a Header or a Body Encode text as Base64, with an optional URL-safe variant. The text becomes UTF-8 bytes first, so accents and emoji arrive on the other side intact.
- Base64 to Text — Read What a Blob Says Decode Base64 back to text. Line breaks, missing padding and the URL-safe alphabet are all accepted, because that is how Base64 actually arrives.
- URL Encode — A Value That Survives the Trip Percent-encode text for a URL: space becomes %20 and every reserved character is escaped, so the value reaches the server as you wrote it.
- URL Decode — Read the Parameters of a Link Decode percent-encoded text back to readable form. The plus sign is kept as a plus, which is right for URLs and wrong for form data — told apart here.
- Text to Hex — See the Invisible Character Show text as its UTF-8 bytes in hexadecimal, space-separated. The byte count is usually the surprise, and the stray byte is usually the answer.
- Hex to Text — Paste a Dump However You Got It Decode hexadecimal bytes back to UTF-8 text. Spaces, commas, colons, 0x prefixes and capitals are all accepted, because dumps come in every shape.
Developer utilities
- UUID Generator — A Hundred Ready to Paste Generate up to 100 random UUID v4 identifiers at once, made in your browser, ready for a fixture file, a seed script or a batch of test rows.
- Hash Generator — Check a Fingerprint Matches Hash text with SHA-256, SHA-1 or SHA-512. The same text always gives the same digest, so you can compare yours against the one you were handed.
- Unix Timestamp to Date — Read a Log Line Turn a Unix timestamp into a readable date: ISO 8601, UTC, your local time, seconds, milliseconds and how long ago it was, all at once.
- Date to Unix Timestamp — The Number an API Wants Convert a date to Unix seconds and milliseconds. A date that does not exist is refused, so you never paste a value that quietly slid a month.
- Case Converter — One Name, Every Convention Switch text between camelCase, PascalCase, snake_case, kebab-case and CONSTANT_CASE. Accented and non-Latin letters come through intact.