Redirect Checker is an open-source tool designed to analyze and verify URL redirects. It helps webmasters, SEO professionals, and developers understand redirect chains, identify issues, and optimize website performance.
- Analyze single or multiple URL redirects
- Detailed redirect chain visualization
- Support for various redirect types (301, 302, 303, 307, 308, meta refresh, JavaScript)
- Custom user-agent selection
- SEO impact assessment
- Redirect loop detection
- HTTP header analysis (Status Code, X-Robots-Tag, Rel Canonical)
- Optionally strip tracking parameters from the final URL
To set up the Redirect Checker project locally, follow these steps:
- Clone the repository:
git clone https://github.com/seadfeng/redirect-checker.git
cd redirect-checker
- Install dependencies:
npm install
# or
yarn install
# or
pnpm install
To start the development server, run one of the following commands:
npm run dev
# or
# yarn dev
or
# pnpm dev
# or
bun dev
Open http://localhost:3000 in your browser to see the result.
- Enter the URL you want to check in the input field.
- (Optional) Select a user-agent from the dropdown menu.
- Click the "Check" button.
- Review the results, including the redirect chain, status codes, and final destination.
- Next.js
- TypeScript
- Tailwind CSS
- ESLint
- PostCSS
curl --request POST \
--url https://www.redirectchecker.org/api/redirectcheck \
--header 'Content-Type: application/json' \
--header 'User-Agent: insomnia/9.2.0' \
--data '{
"url": "https://proxysites.ai"
}'
Output JSON
[
{
"url": "https://proxysites.ai",
"host": "proxysites.ai",
"status": 301,
"statusText": "Moved Permanently",
"duration": "0.006 s",
"metaRefresh": false,
"location": "https://www.proxysites.ai/"
},
{
"url": "https://www.proxysites.ai/",
"host": "www.proxysites.ai",
"status": 200,
"statusText": "OK",
"duration": "3.179 s",
"metaRefresh": false,
"location": null
}
]
curl --request POST \
--url https://www.redirectchecker.org/api/redirectcheck \
--header 'Content-Type: application/json' \
--header 'User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 16_6 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.6 Mobile/15E148 Safari/604.1' \
--data '{
"url": "https://www.facebook.com"
}'
Output JSON
[
{
"url": "https://facebook.com/",
"host": "facebook.com",
"status": 301,
"statusText": "Moved Permanently",
"duration": "0.289 s",
"metaRefresh": false,
"location": "https://m.facebook.com/?wtsid=rdr_03YkIjUs18ziSEa5N"
},
{
"url": "https://m.facebook.com/?wtsid=rdr_03YkIjUs18ziSEa5N",
"host": "m.facebook.com",
"status": 200,
"statusText": "OK",
"duration": "0.207 s",
"metaRefresh": false,
"location": null
}
]
curl --request POST \
--url https://www.redirectchecker.org/api/redirectcheck \
--header 'Content-Type: application/json' \
--header 'User-Agent: insomnia/9.2.0' \
--data '{
"url": "https://www.redirectchecker.org/meta-redirect.html"
}'
[
{
"url": "https://www.redirectchecker.org/meta-redirect.html",
"host": "www.redirectchecker.org",
"status": 200,
"statusText": "OK",
"duration": "0.305 s",
"metaRefresh": true,
"location": "https://www.redirectchecker.org/"
},
{
"url": "https://www.redirectchecker.org/",
"host": "www.redirectchecker.org",
"status": 200,
"statusText": "OK",
"duration": "0.784 s",
"metaRefresh": false,
"location": null
}
]
Simple Deployment
# install wrangler
npm install -g wrangler
# Cloudflare Login
wrangler login
# Deploy to Cloudflare Pages
npm run deploy
For detailed instructions, see this guide
We welcome contributions to the Redirect Checker project. Please feel free to submit issues, feature requests, or pull requests.
Redirect Checker is maintained by seadfeng. For more information, visit the project homepage.
- redirect-urls
- redirect-page
- redirect-checker