Loading…

How to use HTTP Status Codes

Search by number or name to find any HTTP status code, its category (informational, success, redirect, client or server error) and a short explanation of when it applies.

Frequently asked questions

What is the difference between 301 and 302?

301 is a permanent redirect that browsers and search engines cache; 302 is temporary and the original URL should stay in use.

When should I return 401 vs 403?

401 means the request is unauthenticated (log in), while 403 means authenticated but not permitted to access the resource.

What are 5xx codes?

Server-error responses like 500 Internal Server Error and 503 Service Unavailable indicate the server failed to fulfill a valid request.

More Developer Tools

MIME Types
Extension — MIME lookup.
Diff Checker
Line-by-line visual differences.
Regex Tester Advanced
Flags, groups, replace, cheat sheet.
cURL Builder
Build cURL command from form.
cURL to Code
Convert cURL to JS/Python/PHP/Go.
JWT Debugger
Decode JWT segments and verify.
Chmod Calculator
Symbolic — octal permission grid.
Crontab Guru
Visual cron builder + readable output.
Semver Tools
Validate, compare and range-check semantic versions.
UUID Inspector
Detect UUID version, variant and embedded timestamp.
Basic Auth Generator
Build an HTTP Basic Authorization header from user/pass.
String Escaper
Escape/unescape for JSON, JS, HTML, SQL, Regex and Shell.

← View all Developer ToolsBrowse all 1,100+ tools →