Sample Datasets for Developers
15 ready-to-use datasets in JSON, YAML, and CSV — for testing, mocks, demos, and learning. Copy, download, or paste into any OpenFormatter tool. No API key, no signup, no rate limit.
US States
JSONAll 50 US states with code, capital, and region. Sample of 14 included; full list available on download.
World Countries
JSONMajor countries with ISO code, capital, region, and population — useful for dropdowns and demos.
World Airports
JSONMajor international airports with IATA code, name, location, and lat/lng coordinates.
US States (CSV)
CSVSame US states data as a CSV — drop straight into Excel, Google Sheets, or pandas.read_csv.
HTTP Status Codes
JSONAll standard HTTP response codes with name and category — perfect for status-code lookups in code.
CSS Named Colors
JSONCommon CSS named colors with hex and RGB values — useful for color pickers and palette demos.
ISO Currencies
JSONCommon world currencies with ISO 4217 code, symbol, and decimal places — for finance and i18n.
Kubernetes Deployment
YAMLProduction-ready Deployment manifest with probes and resource limits — drop into kubectl apply.
Docker Compose
YAMLMulti-service compose.yaml with web, API, Postgres, and Redis — ready for docker compose up.
GitHub Actions Workflow
YAMLCI workflow with matrix Node versions, lint, test, and build — drop in .github/workflows.
Edge Cases JSON
JSONJSON with empty values, deeply nested objects, mixed arrays, Unicode, escaped chars — for parser testing.
Lorem Ipsum
JSONStandard lorem-ipsum filler text as JSON — paragraphs and individual words for layout testing.
Sample Users API
JSON10 fake user records with id, name, email, role, verified status — drop into mock APIs.
Sample Products API
JSON10 fake product records with SKU, name, category, price, stock — for e-commerce mocks.
Sample Orders API
JSON8 fake order records with status, total, items count, currency — useful for dashboard demos.
How to use these datasets
- Browse and filter. Use the category tabs above to narrow by Geographic, Reference, Configuration, Testing, or API Mock data.
- Preview the data. Click Preview on any card to inspect the full content in a syntax-highlighted modal — handy for checking shape before you commit.
- Copy or download. Copy puts the dataset in your clipboard for paste-anywhere use. Download saves a file with the right extension (.json, .yaml, or .csv).
- Format or convert. Open the dataset in any OpenFormatter tool — JSON Formatter, JSON to CSV, JSON to YAML — to reshape it for your project.
Frequently Asked Questions
Are these datasets free to use?
Yes — every dataset on this page is free to copy, download, and use in personal or commercial projects with no attribution required. No API key, no signup, no rate limit.
What format are the datasets in?
Most datasets are JSON because it is the most universal format. Configuration datasets (Kubernetes, Docker Compose, GitHub Actions) are YAML. A few are also available as CSV for spreadsheet use. The format is shown on each card.
Can I use these datasets in production?
These are sample datasets meant for testing, demos, mocks, and learning — not authoritative reference data. For production-quality reference data (full country lists, real-time exchange rates, complete IATA airports), use a maintained source like REST Countries API, Open Exchange Rates, or OurAirports.com.
How do I download a dataset?
Click the Download button on any dataset card. The file downloads with the correct extension (.json, .yaml, or .csv) and you can use it directly. Click Copy if you want the data in your clipboard instead.
Are these real or synthetic data?
Reference datasets (HTTP codes, ISO currencies, CSS named colors, US states, world countries) use real data. Mock API datasets (sample users, products, orders) use realistic but synthetic data — names, emails, and IDs are fabricated for safe use in tests.
Can I edit a dataset before downloading?
Yes — open the Preview modal, copy the data, paste into the JSON Editor or any of our format tools, edit, and copy back. The data lives in your browser and never leaves your device.
Do you have a CSV version of every dataset?
Most datasets are tabular and convert cleanly to CSV — copy any JSON dataset into the JSON to CSV converter to get a CSV version. Configuration datasets (K8s manifests, Compose files) are not tabular and stay as YAML.
Can I request a new dataset?
Yes — open an issue on the OpenFormatter GitHub repository. We add datasets that solve common testing or demo workflows.
Need to format or convert your data?
Pick any OpenFormatter tool — all 200+ tools run in your browser.