← Explorations
HTTP Status Codes
Every answer on the web starts with a number. Learn to read it.

Every answer a web server sends starts with a three-digit status code. A person reads the page; a program reads the number, and decides what to do next from it. The first digit tells you most of what you need to know.

Click any code to read more about it, then send one for real in Try it.

1xx Hold on, more is coming
2xx It worked
3xx Look somewhere else
4xx The request has a problem
5xx The server has a problem
No code matches that. Try a number, or a word like "redirect" or "login".

Pick a code and send it. This page asks a small server to answer with exactly that code, and shows you the whole answer the way curl -i would: the status line, the headers, and the body.

Pick a code on the left, then press Send.