Skip to content

Web, HTTP & devices

HTTP status codes

The IANA HTTP status code registry with reason phrases and class, for error-handling and mock-server tests.

About this dataset

Every status code in the IANA HTTP status code registry with its reason phrase and class (1xx to 5xx).

Typical use: Validate client error handling or script mock endpoints that return each status class.

Columns

3 columns, 62 rows by default.

ColumnTypeSource
codestringFrom the source file (code)
reasonstringFrom the source file (reason)
classstringFrom the source file (class)

Preview

First 20 rows. Download for up to 1,000.

codereasonclass
100Continue1xx
101Switching Protocols1xx
102Processing1xx
103Early Hints1xx
104Upload Resumption Supported (TEMPORARY - registered 2024-11-13, extension registered 2025-09-15, expires 2026-11-13)1xx
200OK2xx
201Created2xx
202Accepted2xx
203Non-Authoritative Information2xx
204No Content2xx
205Reset Content2xx
206Partial Content2xx
207Multi-Status2xx
208Already Reported2xx
226IM Used2xx
300Multiple Choices3xx
301Moved Permanently3xx
302Found3xx
303See Other3xx
304Not Modified3xx

License

License
Public domain
Attribution
Not required.

Values in downloads are plain text. In the JSON file every value is a string, matching the CSV cell. See Dataset Library docs for licensing details and how to bind a dataset to a test.