Free Sample Datasets

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.

Direct download Free for any use No API key 15.8 KB total

US States

JSON

All 50 US states with code, capital, and region. Sample of 14 included; full list available on download.

Fields: code, name, capital, region
14 records1.4 KBGeographic

World Countries

JSON

Major countries with ISO code, capital, region, and population — useful for dropdowns and demos.

Fields: code, name, capital, region, population
12 records1.5 KBGeographic

World Airports

JSON

Major international airports with IATA code, name, location, and lat/lng coordinates.

Fields: iata, name, city, country, lat, lng
10 records1.4 KBGeographic

US States (CSV)

CSV

Same US states data as a CSV — drop straight into Excel, Google Sheets, or pandas.read_csv.

Fields: code, name, capital, region
14 records395 BGeographic

HTTP Status Codes

JSON

All standard HTTP response codes with name and category — perfect for status-code lookups in code.

Fields: code, name, category
19 records1.6 KBReference

CSS Named Colors

JSON

Common CSS named colors with hex and RGB values — useful for color pickers and palette demos.

Fields: name, hex, rgb
12 records1.0 KBReference

ISO Currencies

JSON

Common world currencies with ISO 4217 code, symbol, and decimal places — for finance and i18n.

Fields: code, name, symbol, decimals
10 records937 BReference

Kubernetes Deployment

YAML

Production-ready Deployment manifest with probes and resource limits — drop into kubectl apply.

Fields: apiVersion, kind, metadata, spec
1 record689 BConfiguration

Docker Compose

YAML

Multi-service compose.yaml with web, API, Postgres, and Redis — ready for docker compose up.

Fields: services, volumes
4 records559 BConfiguration

GitHub Actions Workflow

YAML

CI workflow with matrix Node versions, lint, test, and build — drop in .github/workflows.

Fields: name, on, jobs
1 record428 BConfiguration

Edge Cases JSON

JSON

JSON with empty values, deeply nested objects, mixed arrays, Unicode, escaped chars — for parser testing.

Fields: emptyString, nullValue, unicodeString, deeplyNested, ...
18 records817 BTesting

Lorem Ipsum

JSON

Standard lorem-ipsum filler text as JSON — paragraphs and individual words for layout testing.

Fields: title, paragraphs, words
4 records652 BTesting

Sample Users API

JSON

10 fake user records with id, name, email, role, verified status — drop into mock APIs.

Fields: id, name, email, role, verified, createdAt
10 records1.7 KBAPI Mock

Sample Products API

JSON

10 fake product records with SKU, name, category, price, stock — for e-commerce mocks.

Fields: sku, name, category, price, stock, active
10 records1.4 KBAPI Mock

Sample Orders API

JSON

8 fake order records with status, total, items count, currency — useful for dashboard demos.

Fields: id, customerId, status, total, currency, items
8 records1.4 KBAPI Mock

How to use these datasets

  1. Browse and filter. Use the category tabs above to narrow by Geographic, Reference, Configuration, Testing, or API Mock data.
  2. 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.
  3. 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).
  4. 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.

Free Sample Datasets — JSON, YAML, CSV for Devs