HTTP Status Codes

Look up 1xx through 5xx meanings.

Loading tool

This tool runs in your browser. Nothing is uploaded.

Type 404 or teapot and read the usual meaning plus when you might return it from an API.

How to use this tool

  1. Paste the snippet. Drop JSON, code, or a token into the input. It is not sent to a server.
  2. Run the action. Format, decode, or generate. Parse errors stay on the page.
  3. Copy the output. Copy the result back into your editor or terminal.

Source

Codes follow common IANA registrations and widely deployed extensions. Rare vendor codes may be missing.

Frequently asked

Is 418 still a thing?

It is reserved as an April Fools code. Some stacks still implement it.

What should I use instead of 200 for created?

201 Created when a resource was made.

Is 422 in the HTTP spec?

It comes from WebDAV and is widely used for validation errors.

Does this list gRPC codes?

No. HTTP only.

Can I copy a markdown table?

Yes. Export copies the filtered rows.