HTTP 3xx Redirect Codes List
Get a complete, ordered reference of HTTP 3xx status codes for redirection and routing outcomes.
HTTP 3xx redirect codes(9 registered status codes)
Based on the IANA HTTP Status Code Registry for the 3xx range. Includes any registered special entries and excludes unassigned ranges.
How to use this list
Apply HTTP 3xx codes in 3 steps
Takes ~5 seconds- 1Choose output format
Select text for docs, JSON for constants, or HTML for form controls.
- 2Copy or download
Use one-click copy or download the output file.
- 3Use in your workflow
Paste into runbooks, tests, SDK docs, or monitoring rules.
Common use cases
- Developers documenting expected API response classes
- QA teams creating focused response-code test coverage
- Platform teams standardizing logs and alert labels
Examples
3xx example code.
301
301 Moved Permanently
Additional code in the same class.
307
307 Temporary Redirect
HTML output for select menus.
301 Moved Permanently
<option value="301 Moved Permanently">301 Moved Permanently</option>
Reliable HTTP 3xx response reference
This list provides a focused reference of HTTP 3xx entries so teams can standardize behavior across implementation, testing, and operations.
HTTP 3xx codes all trigger a redirect, but they're not interchangeable: 301 and 308 tell browsers and search engines the move is permanent, 302 and 307 signal a temporary redirect that shouldn't overwrite cached URLs, and 304 tells a client its cached copy is still valid instead of redirecting anywhere. This list gives you the full IANA-registered 3xx range in copy-ready text, JSON, or HTML <option> format, so routing rules, CDN configs, and redirect tests reference the correct code instead of defaulting to a generic 302.
301/308 tell clients and search engines to update the URL for good; 302/307 mean the move is only temporary.
- 301/308 for permanent moves
- 302/307 for temporary redirects
- 304 for "nothing changed, use your cache"
Grab the range as plain text, a JSON array, or ready-to-paste HTML <option> tags.
- Plain text list
- JSON array
- HTML <option> tags
No success or error codes mixed in — just the range that governs routing and caching decisions.
- Routing rule references
- CDN and reverse-proxy configs
- Cache validation logic
Choosing the right redirect code
The wrong redirect code can break caching, hurt SEO rankings, or silently drop a request body.
- Use 301 or 308 for permanent moves so browsers and search engines update bookmarks and indexes.
- Use 302 or 307 for temporary redirects when the original URL will be valid again later.
- Prefer 308 (or 307) over 301/302 when the redirect must preserve the original HTTP method and body, such as a POST.
Frequently asked questions
What's the real difference between 301 and 302?>
Why does 307 exist if 302 already redirects?>
Does a 304 response include a response body?>
Related Developer lists
Copy common application/* MIME types in text, JSON, or HTML format for API content negotiation, downloads, and file validation.
Copy common audio MIME types in text, JSON, or HTML format for uploads, playback support checks, and processing pipelines.
Copy a practical common MIME types list in text, JSON, or HTML format for uploads, APIs, validation, and content handling.
Copy all HTTP 2xx success codes in text, JSON, or HTML format for API docs, tests, and monitoring workflows, ready to paste.
Copy all HTTP 4xx client error codes in text, JSON, or HTML format for API docs, tests, and monitoring workflows.
Copy all HTTP 5xx server error codes in text, JSON, or HTML format for API docs, tests, and monitoring workflows.
Copy a clean http request methods list (GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS, TRACE, CONNECT) in text, JSON, or HTML for API docs and tooling.
Copy the complete IANA-registered HTTP status codes list in text, JSON, or HTML format for APIs, docs, testing, and observability workflows.
Copy common image MIME types in text, JSON, or HTML format for upload validation, image processing, and media tooling.
Copy common video MIME types in text, JSON, or HTML format for upload policies, streaming workflows, and player support checks.