chain
#
HTTP 301 Moved Permanently
⌃⏎ run · clear · / focus input
Meaning
send output to
no matches
Result appears here as you type
runs in your browser · nothing uploaded
// about this tool

HTTP 301 Moved Permanently Online

Updated 2026-07-26

HTTP 301 Moved Permanently tells the browser — and every search engine — that a URL has moved for good and future requests should go straight to the new address. It's the correct code whenever a page, domain, or URL structure changes permanently and you want ranking signals to carry over.

Reach for 301 for permanent moves: URL restructures, domain migrations, or retiring an old path in favor of a new one. If the redirect is only temporary — a maintenance page, an A/B test, a seasonal promotion — use 302 instead, so search engines keep the original URL indexed. For every other status code at once, use the full HTTP Status Codes reference.

// how to use

  1. 1 The code is already looked up below — 301 is pre-filled.
  2. 2 Type any other status code to look that one up instead.
  3. 3 Copy the result, or use the full HTTP Status Codes reference for every code at once.

// examples

The code itself
Input
301
Output
301 Moved Permanently — Redirection (3xx). The resource has permanently moved to a new URL.
The code it's often confused with
Input
302
Output
302 Found — a TEMPORARY redirect; the original URL should stay in search results and bookmarks.

// common uses

Setting up a redirect after moving a page or changing a URL structure Deciding between 301 and 302 for a redirect Understanding SEO impact when restructuring a site Checking what a status code in server logs actually means

// faq

Is anything uploaded to a server?
No. The lookup runs entirely in your browser from a built-in table, so nothing you type leaves your machine.
Why does 301 matter so much for SEO?
A 301 tells search engines the move is permanent, so they transfer the old URL's ranking signals to the new one and eventually stop crawling the old address. Using 302 (temporary) instead means search engines keep indexing the old URL, splitting or losing that value.
Will browsers cache a 301 redirect?
Yes, often aggressively — browsers may remember a 301 and skip the request to the old URL entirely on future visits, which is powerful but also means a mistaken 301 can be sticky to fix on the visitor's end.
What HTTP method does a 301 preserve?
Historically, some clients converted a POST to a GET on a 301 redirect; if you need the method preserved exactly, 308 Permanent Redirect is the modern, unambiguous choice for that.

Use this via API

Get a free API key →
curl -X POST https://thesnaptools.com/api/v1/tools/http-301 \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"text":"301"}'
Esc
↑↓ navigate open Esc close