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- 1Choose a format
Pick text, JSON, or HTML output depending on your project needs.
- 2Copy or download
Use the copy button to grab the list or download a file for offline use.
- 3Paste into your workflow
Drop it into docs, schema validators, dropdown menus, or training materials.
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.
string — "hello"
string — "hello"
JSON output — clean array of type name strings.
"string"
["string", "number", "boolean", "null", "object", "array"]
HTML output for a dropdown menu.
string — "hello"
<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.
All six types come directly from RFC 8259, the authoritative JSON specification.
- string, number, boolean
- null, object, array
- No non-standard extras
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
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?>
Does the JSON number type cover both integers and floating-point numbers?>
Why does the JSON output only include type names and not the examples?>
Related Developer lists
Copy common application/* MIME types in text, JSON, or HTML format for API content negotiation, downloads, and file validation.
Copy common audio MIME types in text, JSON, or HTML format for uploads, playback support checks, and processing pipelines.
Copy a practical common MIME types list in text, JSON, or HTML format for uploads, APIs, validation, and content handling.
Copy all HTTP 2xx success codes in text, JSON, or HTML format for API docs, tests, and monitoring workflows, ready to paste.
Copy all HTTP 3xx redirect codes in text, JSON, or HTML format for API docs, tests, and monitoring workflows, ready to paste.
Copy all HTTP 4xx client error codes in text, JSON, or HTML format for API docs, tests, and monitoring workflows.
Copy all HTTP 5xx server error codes in text, JSON, or HTML format for API docs, tests, and monitoring workflows.
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.
Copy the complete IANA-registered HTTP status codes list in text, JSON, or HTML format for APIs, docs, testing, and observability workflows.
Copy common image MIME types in text, JSON, or HTML format for upload validation, image processing, and media tooling.
Copy common video MIME types in text, JSON, or HTML format for upload policies, streaming workflows, and player support checks.