Free JSON Datasets

Ready-to-use JSON data for apps, tests and demos: countries, airports, currencies, colors, config templates and mock API data. Copy, open or download.

Datasets

Geographic48 records

Countries

Countries with ISO 3166 two- and three-letter codes, capitals, continents and currency codes.

Fields: name, iso2, iso3, capital +2 more

countries.json · 6.8 KB

Geographic50 records

US States

All 50 US states with their two-letter postal codes and capital cities.

Fields: name, code, capital

us-states.json · 3.8 KB

Geographic30 records

World Airports

Major international airports with IATA codes, full names, cities and countries.

Fields: iata, name, city, country

airports.json · 3.6 KB

Reference61 records

HTTP Status Codes

Every standard HTTP status code with its name, category and a plain-English meaning.

Fields: code, name, category, description

http-status-codes.json · 9.8 KB

Reference34 records

Programming Languages

Popular languages with the year they first appeared, creators, typing and file extensions.

Fields: name, firstAppeared, createdBy, typing +1 more

programming-languages.json · 5.7 KB

Reference57 records

File Extensions & MIME Types

Common file extensions with their MIME types (content types) and categories.

Fields: extension, mimeType, category, description

file-extensions-mime-types.json · 7.6 KB

Reference40 records

CSS Colors

Common CSS named colors with exact hex codes and RGB values.

Fields: name, hex, rgb

css-colors.json · 4.0 KB

Reference32 records

Currencies

World currencies with ISO 4217 codes, names and symbols.

Fields: code, name, symbol

currencies.json · 2.4 KB

Reference29 records

Languages

Languages with ISO 639-1 codes, English names and native names.

Fields: code, name, nativeName

languages.json · 2.3 KB

Configuration1 record

package.json Template

A modern package.json for Node.js projects, with scripts, exports and engines.

Fields: name, version, description, keywords +14 more

package.json · 936 B

Configuration1 record

tsconfig.json Template

Recommended strict TypeScript compiler settings for Node.js projects.

Fields: compilerOptions, include, exclude

tsconfig.json · 513 B

Configuration1 record

Prettier Config

A popular .prettierrc setup: no semicolons, single quotes, 100-character lines.

Fields: semi, singleQuote, trailingComma, printWidth +5 more

.prettierrc.json · 200 B

Configuration1 record

ESLint Config (.eslintrc.json)

A legacy-format ESLint config for React projects. Newer ESLint versions use eslint.config.js instead.

Fields: root, env, extends, parserOptions +2 more

.eslintrc.json · 490 B

Configuration1 record

VS Code Settings

Workspace settings for VS Code: format on save, Prettier, ESLint fixes and clean line endings.

Fields: editor.formatOnSave, editor.tabSize, editor.defaultFormatter, editor.codeActionsOnSave +4 more

settings.json · 366 B

API Mocks10 records

Mock Users

Ten made-up users with names, emails, ages, cities, roles and timestamps for testing.

Fields: id, firstName, lastName, email +5 more

users.json · 2.3 KB

API Mocks10 records

Mock Products

Ten made-up shop products with prices, stock levels, categories and ratings.

Fields: id, name, category, price +4 more

products.json · 1.8 KB

API Mocks5 records

Mock Orders

Made-up orders with nested line items, totals and statuses, for testing nested data.

Fields: orderId, userId, status, items +3 more

orders.json · 2.1 KB

API Mocks10 records

Mock Todos

A simple made-up todo list with users and completed flags, ideal for tutorials.

Fields: id, userId, title, completed

todos.json · 981 B

API Mocks5 records

Mock Blog Posts

Made-up blog posts with slugs, authors, tags and published flags.

Fields: id, title, slug, body +3 more

posts.json · 1.4 KB

Testing1 record

All JSON Data Types

One object with every JSON type and edge case: unicode, escapes, empty values and nesting.

Fields: string, emptyString, unicode, escaped +12 more

all-types.json · 551 B

Testing1 record

Deeply Nested JSON

An object nested ten levels deep, for testing parsers, viewers and recursion.

Fields: depth, child

deep-nesting.json · 569 B

Free JSON Data for Developers

Every dataset on this page is free to use in your projects, tests, tutorials and prototypes. Reference data uses official codes such as ISO 3166 country codes, ISO 4217 currency codes, ISO 639-1 language codes and IATA airport codes. The mock API data is made up, so it is safe to use in demos and screenshots.

How to Use These Datasets

  1. Find a dataset with the search box or the category buttons.
  2. Click Copy to put the JSON on your clipboard, or Download to save the .json file.
  3. Click Open to explore it in the JSON Formatter as code, a tree or a graph.
  4. Convert it with our tools, for example JSON to CSV, JSON to Excel or JSON to TypeScript.

Frequently Asked Questions

Are these JSON datasets free?

Yes. Every dataset is free to copy, download and use in personal and commercial projects, tests and tutorials.

Is the reference data accurate?

Reference datasets use official codes, such as ISO 3166 for countries, ISO 4217 for currencies, ISO 639-1 for languages and IATA for airports. Always check critical data against the official source.

Is the mock data real?

No. Mock users, products, orders, todos and posts are made up, so they are safe to use in demos, screenshots and tests.

How do I use a dataset in my code?

Click Download to save the .json file and import it, or Copy and paste it into your project. Click Open to explore it in the JSON Formatter first.