Data & Format Tools

Free Online Data & Format Tools

Data format converters and generators that run entirely in your browser. Convert between JSON, CSV, YAML, XML, and TOML, generate realistic mock data for testing, create JSON schemas, and build form test cases — with no data sent to a server.

CSV to JSON
Convert CSV data to JSON instantly
Live
JSON to CSV Converter
Convert JSON arrays to CSV format
Live
JSON to YAML Converter
Convert JSON to YAML and YAML to JSON
Live
Form Test Data Generator
Generate test cases for every form field — valid, invalid, boundary, XSS, SQL
Live
Mock Data Generator
Generate realistic fake data for testing
Live
XML to JSON Converter
Convert XML to JSON and JSON to XML
Soon
JSON Schema Generator
Generate JSON Schema from any JSON sample
Soon
TOML to JSON Converter
Convert TOML config files to JSON
Soon
CSV Viewer & Editor
Preview and edit CSV data in a table
Soon
Lorem JSON Generator
Generate JSON with realistic random data
Soon

Data format tools for developers and data engineers

Modern applications consume and produce data in JSON, CSV, YAML, XML, TOML, and a dozen other formats. Switching between them is a constant task — for API integration, config file management, database seeding, and test data preparation.

JSON has become the lingua franca of web APIs, but CSV remains dominant for spreadsheets and data pipelines. YAML is preferred for configuration files (Kubernetes, GitHub Actions, Docker Compose) because it is more readable than JSON. Knowing when to use which format — and how to convert between them reliably — is a core developer skill.

All conversion logic runs entirely in your browser with no server round-trip. Large CSV files, complex nested JSON, and multi-document YAML files all process instantly at native JavaScript speed.

Data & Format best practices

Validate JSON schema early
Generate a JSON Schema from your sample data and validate all incoming payloads against it. Schema validation catches type mismatches, missing required fields, and unexpected nulls before they reach your database.
Use YAML for config, JSON for APIs
YAML is more readable and supports comments — great for configuration files. JSON is stricter and universally supported — better for API payloads where comments would be stripped anyway.
Watch for type coercion in CSV
CSV has no native types — everything is a string. Parsers often auto-coerce "1" to a number and "true" to a boolean. Always validate types explicitly when importing CSV data into a typed system.
Seed test databases with realistic data
Fake names, emails, and phone numbers from a mock data generator produce more useful test results than sequential IDs like "user1", "user2". Edge cases in real data (Unicode, apostrophes, very long values) surface sooner with realistic seeding.

FAQ

Common questions

What is the difference between JSON and YAML?

JSON uses strict syntax — double quotes for keys, no trailing commas, no comments. YAML is a superset of JSON with more relaxed syntax, support for comments, and cleaner multi-line strings. YAML is popular for config files; JSON is the standard for API payloads.

How do I convert a CSV with nested data?

Nested JSON cannot be represented directly in CSV. The JSON to CSV converter flattens nested objects into dot-notation column names (e.g., address.city). For deeply nested structures, consider JSON or YAML instead of CSV.

What is JSON Schema?

JSON Schema is a vocabulary for describing the structure of JSON data. It specifies types, required fields, string patterns, numeric ranges, and array constraints. Use it to validate API request/response bodies and catch schema drift early.

What data types does the mock data generator support?

The mock data generator supports names, emails, phone numbers, addresses, dates, UUIDs, booleans, integers, floats, company names, and custom strings. Export as JSON or CSV for use in tests, database seeding, or Storybook stories.

What is TOML and when should I use it?

TOML (Tom's Obvious Minimal Language) is a configuration format designed to be easy to read. It maps cleanly to a hash table and is used by Cargo (Rust), Hugo, and Poetry (Python). Use it when you want a config format that's more structured than YAML but simpler than JSON for humans.

More tool categories