HTTP Status Code Reference (1xx-5xx)
Look up HTTP status codes 1xx-5xx (RFC 9110). Search by number (200, 404, 500) or name (not found, redirect). Click to copy. Handy for API debugging.
No matches.
HTTP Status Code reference (RFC 9110). Click a code to copy it. Search by number or name — handy for debugging APIs, writing REST handlers, or reading server logs.
5 HTTP status code groups
- 1xx Informational: the request is being processed. Rare in everyday apps.
- 2xx Success: success.
200 OK,201 Created,204 No Content. - 3xx Redirection: follow another URL.
301permanent (SEO updates),302temporary,304use cache. - 4xx Client Error: the client did something wrong.
400bad request,401unauth,403forbidden,404not found,429rate limit. - 5xx Server Error: server side.
500generic,502/504proxy,503down/overloaded.
4 commonly confused codes
- 401 vs 403: 401 = "I don't know who you are" (not authenticated). 403 = "I know who you are but you can't" (authenticated, lacks permission).
- 301 vs 302: 301 is permanent — Google updates the canonical to the new URL. 302 is temporary — Google keeps the old URL in the index.
- 307 vs 302: 307 preserves the HTTP method (POST stays POST). 302 lets the browser change POST to GET. Use 307 for API redirects, 302 for form submissions.
- 422 vs 400: 400 = malformed JSON. 422 = JSON parses fine but fails validation (e.g. bad email format). Many frameworks use 422 for form validation errors.
Best practices for REST APIs
- POST /resources succeeds →
201 Created+Locationheader pointing to the new resource. - DELETE succeeds →
204 No Content(no body needed). - Validation fails →
422 Unprocessable Entity+ JSON detail per field. - Rate limit hit →
429+Retry-After: 60header (seconds). - Server crash →
500+ log internally, do NOT leak the stack trace into the response. - Maintenance →
503+Retry-Afterso clients/Google know when to come back.
Who this is for
Backend devs, API integrators, anyone debugging JSON/YAML/CSV payloads or working with structured data.
FAQ
Is my sensitive data safe?
Yes. JSON/YAML/CSV you paste is NOT uploaded to any server. All processing happens locally in your browser.
Is there a size limit?
Browser RAM dependent. Files under 10MB run smoothly. Larger files may freeze the tab.
Related tools
See all tools →JWT Decoder
Decode JWT tokens — header, payload, claims with readable timestamps.
NEWJSON Formatter
Format / minify / validate JSON. Sort keys A-Z, custom indent, Ctrl+Enter shortcut.
NEWUUID / Hash / Base64 / URL
Bundle: UUID v4, SHA-256/512 hash, Base64 (URL-safe), URL encode.
NEWJSONPath Tester
Test JSONPath queries against JSON samples. Pick data from API responses, debug structured output. Recursive descent + filters.