JSON Data Types List

Grab all six native JSON data types in clean, copy-ready formats. Ideal for documentation, dropdown menus, and developer reference sheets.

JSON data types(6 data types)

Covers all six primitive and structural types defined in RFC 8259; no vendor extensions or JavaScript-specific types (e.g. undefined, BigInt) are included.

How to use this list

Copy JSON data types in seconds

Takes ~5 seconds
  1. 1
    Choose a format

    Pick text, JSON, or HTML output depending on your project needs.

  2. 2
    Copy or download

    Use the copy button to grab the list or download a file for offline use.

  3. 3
    Paste into your workflow

    Drop it into docs, schema validators, dropdown menus, or training materials.

Need a dropdown? Select HTML to generate ready-to-paste <option> tags with bare type names as values.

Who uses this list?

  • Developers documenting APIs or JSON schemas who need a quick type reference
  • Technical writers building JSON tutorials or specification guides
  • Educators creating coding exercises or quizzes about JSON structure

Examples

Text output with type name and inline example.

Input
string — "hello"
Output
string — "hello"

JSON output — clean array of type name strings.

Input
"string"
Output
["string", "number", "boolean", "null", "object", "array"]

HTML output for a dropdown menu.

Input
string — "hello"
Output
<option value="string">string — "hello"</option>

A clean list of all JSON data types

Use this list when you need a fast, authoritative reference to all six native JSON types defined by the spec.

Looking for a complete JSON data types list based on the official specification? RFC 8259 defines exactly six native JSON types: string, number, boolean, null, object, and array. This page presents all six in copy-ready text, JSON, and HTML formats so you can drop them straight into API documentation, schema references, learning materials, or UI dropdowns without reformatting. The text format shows each type name alongside a brief inline example — such as number — 42 or object — {"key": "value"} — making it easy to scan and share. The JSON format emits a clean array of bare type name strings, ideal for seeding validators, code generators, or quiz apps. The HTML format outputs <option> tags ready for a select menu, with the type name as both the value attribute and display label. Because the list is derived directly from RFC 8259, it excludes JavaScript-specific constructs like undefined, BigInt, and NaN that are not valid JSON values. This makes it a reliable reference for developers working across languages who need to stay within the strict JSON standard.

Spec-accurate coverage

All six types come directly from RFC 8259, the authoritative JSON specification.

  • string, number, boolean
  • null, object, array
  • No non-standard extras
Label plus example

Each entry pairs the type name with a short inline example for instant clarity.

  • Type name as the value
  • Inline example in the label
  • Clean, scannable format
Copy-ready formats

Switch between text, JSON, and HTML with one click for any workflow.

  • Plain text list
  • JSON array of type names
  • HTML <option> tags

JSON data type list best practices

Keep type names consistent with the spec and document any usage constraints alongside them.

  • Use bare type names (e.g. string, number) in code and schemas to match RFC 8259 terminology.
  • Distinguish JSON types from language types — JSON number covers both integers and floats.
  • Note that JSON null is its own type, not a value of object or any other type.

Frequently asked questions

Why are there only 6 JSON data types?>
RFC 8259, the authoritative JSON specification, defines exactly six types: string, number, boolean, null, object, and array. Types like undefined or BigInt belong to JavaScript, not JSON.
Does the JSON number type cover both integers and floating-point numbers?>
Yes. The JSON spec defines a single number type that encompasses integers and decimals. There is no separate integer or float type in JSON.
Why does the JSON output only include type names and not the examples?>
The JSON format is optimized for machine use, so it emits a clean array of bare type name strings — the value field — rather than the human-readable labels with inline examples.

Related Developer lists

Application MIME Types List | Copy-Ready Text, JSON & HTML

Copy common application/* MIME types in text, JSON, or HTML format for API content negotiation, downloads, and file validation.

Audio MIME Types List | Copy-Ready Text, JSON & HTML

Copy common audio MIME types in text, JSON, or HTML format for uploads, playback support checks, and processing pipelines.

Common MIME Types List | Copy-Ready Text, JSON & HTML

Copy a practical common MIME types list in text, JSON, or HTML format for uploads, APIs, validation, and content handling.

HTTP 2xx Success Codes List | Copy-Ready Text, JSON & HTML

Copy all HTTP 2xx success codes in text, JSON, or HTML format for API docs, tests, and monitoring workflows, ready to paste.

HTTP 3xx Redirect Codes List | Copy-Ready Text, JSON & HTML

Copy all HTTP 3xx redirect codes in text, JSON, or HTML format for API docs, tests, and monitoring workflows, ready to paste.

HTTP 4xx Error Codes List | Copy-Ready Text, JSON & HTML

Copy all HTTP 4xx client error codes in text, JSON, or HTML format for API docs, tests, and monitoring workflows.

HTTP 5xx Error Codes List | Copy-Ready Text, JSON & HTML

Copy all HTTP 5xx server error codes in text, JSON, or HTML format for API docs, tests, and monitoring workflows.

HTTP Request Methods List | Copy-Ready Text, JSON & HTML

Copy a clean http request methods list (GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS, TRACE, CONNECT) in text, JSON, or HTML for API docs and tooling.

HTTP Status Codes List | Copy-Ready Text, JSON & HTML

Copy the complete IANA-registered HTTP status codes list in text, JSON, or HTML format for APIs, docs, testing, and observability workflows.

Image MIME Types List | Copy-Ready Text, JSON & HTML

Copy common image MIME types in text, JSON, or HTML format for upload validation, image processing, and media tooling.

Video MIME Types List | Copy-Ready Text, JSON & HTML

Copy common video MIME types in text, JSON, or HTML format for upload policies, streaming workflows, and player support checks.