🍱 Lunchbox Hands

Data Converters

28 free tools

Convert between JSON, CSV, YAML, XML, TOML, SQL, and typed code.

Data converters turn one structured format into another without a script: CSV to JSON, JSON to a Pydantic model or Go struct, YAML to JSON, XML to JSON, and back. Each converter shows the exact options it applied (delimiters, quoting, key order) so the output is predictable when you paste it into a pipeline. Most of them link to a guide on the edge cases that trip up a plain library call.

Everything here runs in your browser: files and text are processed locally and never uploaded.

All 28 tools

CSV ↔ JSON

Convert between CSV and JSON formats

YAML ↔ JSON

Bidirectional conversion between YAML and JSON

TOML ↔ JSON

Bidirectional conversion between TOML and JSON

XML ↔ JSON

Bidirectional conversion between XML and JSON

JSON → TypeScript Types

Generate TypeScript interfaces from JSON samples

JSON → Zod Schema

Generate Zod validation schemas from JSON samples

JSON → Go Struct

Generate Go structs with json tags from JSON

JSON → Pydantic Model

Generate Pydantic v2 models from JSON

JSON → Rust (Serde)

Generate Rust serde structs from JSON

JSON → Kotlin Data Class

Generate Kotlin data classes from JSON

JSON → C# Class

Generate C# classes with System.Text.Json attributes from JSON

JSON → Java Class

Generate Java classes with Jackson annotations from JSON

JSON → GraphQL Schema

Generate GraphQL SDL types from JSON

JSON Diff

Compare two JSON objects structurally

JSON → JSDoc Typedefs

Generate JSDoc @typedef definitions from JSON

CSV → SQL INSERT

Convert CSV rows into SQL INSERT statements

SQL Explainer

Explain any SQL query in plain English, clause by clause

JSON ↔ Query String

Convert between URL query params and JSON objects

JSON → CSV

Convert a JSON array of objects into CSV

CSV → Markdown Table

Convert CSV data into a GitHub-flavored Markdown table

JSON Schema Generator

Generate JSON Schema from sample JSON data

Excel → JSON / CSV

Convert Excel spreadsheets (XLSX, XLS, ODS) to JSON or CSV

INI ↔ JSON

Bidirectional conversion between INI files and JSON

DBML → SQL + ER Diagram

Paste DBML or SQL DDL to get an ER diagram and clean DDL for Postgres, MySQL, SQL Server, Oracle, or DBML

JSON Flattener / Unflattener

Flatten nested JSON to path keys and unflatten it back

JSON Schema Validator

Validate a JSON document against a JSON Schema with per-error paths and line numbers

CSV Delimiter Converter

Convert CSV between commas, semicolons, tabs, and pipes

CSV Viewer

Open CSV files as a sortable, filterable table without uploading

Guides

From the blog: the mechanisms, standards, and edge cases behind these tools.

More categories