HTTP Status Code Reference

WEB & HTTP

Every time you click a link, submit a form, or load an image, your web browser starts a conversation with a remote server. HTTP status codes are the server’s three-digit shorthand replies.

Normally, these codes are completely invisible to the user, handled quietly in the background by the browser. You only ever see them displayed on your screen when a conversation goes terribly wrong—like a broken link or a crashed database.

The Five Status Code Classes

Range Class The Plain English Meaning
1xx Informational "Hold on." The server received the request and is currently processing it.
2xx Success "Here you go." The server understood the request and successfully delivered the data.
3xx Redirection "Go over there." The data you want has been moved to a different URL.
4xx Client Error "You messed up." You asked for something that doesn't exist, lacks proper syntax, or you don't have permission to view.
5xx Server Error "We messed up." Your request was perfect, but the server crashed or failed to process it.

Common HTTP Status Codes

Code Name Real-World Context & Troubleshooting
200OKThe standard response for successful web traffic. 99% of your daily internet browsing consists of 200 OK codes.
201CreatedUsually seen when interacting with APIs. It means a form submission or data upload successfully created a new entry in the database.
204No ContentThe server successfully processed the request, but there is no new webpage or file to send back.
301Moved PermanentlyCrucial for SEO. Tells Google that a page has permanently moved to a new URL, transferring all search engine ranking power to the new link.
302Found (Temporary)Tells the browser to temporarily go to a new URL. Search engines will not update their indexes, assuming the original URL will return eventually.
304Not ModifiedA massive bandwidth saver. The server tells the browser: "The image you asked for hasn't changed since your last visit. Just load the copy saved in your local cache."
400Bad RequestThe server cannot process the request because the browser sent malformed data, an invalid API request, or an oversized file.
401UnauthorizedYou are trying to access a restricted page but haven't logged in.
403ForbiddenYou are logged in, but your account doesn't have the administrator permissions required to view the page.
404Not FoundThe classic broken link. The server is online, but the specific URL you typed does not exist.
410GoneA deliberate 404. Used by webmasters to tell search engines: "This page was deleted on purpose and is never coming back. Remove it from your search results immediately."
429Too Many RequestsYou hit a rate limit. Often triggered by web scrapers or refreshing a page too aggressively. The server is protecting itself from being overwhelmed.
500Internal Server ErrorThe dreaded "White Screen of Death." A blanket error meaning the server's code broke (often a PHP fatal error or a faulty WordPress plugin).
502Bad GatewayUsually seen when using a CDN like Cloudflare. Cloudflare (the gateway) successfully intercepted your request, but the origin web server failed to respond properly.
503Service UnavailableThe server is online but overloaded. Usually means the server is under a DDoS attack, experiencing a massive traffic spike, or down for routine maintenance.
504Gateway TimeoutSimilar to 502, but specifically means the upstream server took too long to reply and the connection simply timed out. Often caused by extremely slow database queries.

The VIP Room Analogy: 401 vs 403

People often confuse the 401 Unauthorized and 403 Forbidden errors. The easiest way to understand the difference is to imagine a nightclub.

A 401 means the bouncer stops you at the front door and says, "I don't know who you are. Show me your ID." (You need to log in).

A 403 means you are inside the club, but you try to open the door to the VIP lounge. The bouncer says, "I know exactly who you are, but you aren't on the VIP list. You cannot enter." (You are logged in, but lack administrative permissions).

How to See Invisible Status Codes

Want to see the 200s and 304s happening behind the scenes? In Chrome, Edge, or Firefox, right-click any webpage, select Inspect, and click the Network tab. Refresh the page, and you will see a waterfall of every single HTTP status code your browser receives as it downloads the images, scripts, and text.

Want to search or filter status codes interactively? Use the Interactive HTTP Status Code Explorer to quickly diagnose client (4xx) and server (500/502/503) errors.