A fast, modern URL inspector that decodes query parameters and previews SEO metadata
Link Inspector helps you understand what's inside a URL. Paste any link and instantly see:
- Decoded URLs — Converts
%20back to spaces, reveals hidden characters - Query Parameters — Every
?key=valuepair in a clean table - SEO Preview — How your link appears when shared on social media
Perfect for debugging tracking links, checking UTM parameters, or inspecting how a page looks when shared.
Automatically detects if your URL is encoded and shows both versions. One-click copy for either format.
All URL parameters extracted into a searchable table with:
- Parameter keys and raw values
- Copy buttons for each field
- Clean handling of complex nested params
See exactly how a URL will appear when shared:
- Open Graph tags (og:title, og:description, og:image)
- Twitter Card metadata
- Standard meta tags (description, viewport, theme-color)
Your last inspected URL is saved locally — pick up right where you left off.
| Layer | Technology |
|---|---|
| Frontend | Astro + Tailwind CSS |
| API | Cloudflare Workers |
| Deployment | Cloudflare Pages |
link-inspector/
├── site/ # Frontend (Astro)
│ ├── src/
│ │ ├── components/ # UI components
│ │ ├── layouts/ # Page layouts
│ │ ├── pages/ # Routes
│ │ └── scripts/ # Client-side JS
│ └── package.json
│
├── api/ # Backend (Cloudflare Worker)
│ ├── index.ts # Metadata scraper
│ └── wrangler.toml # Worker config
│
└── README.md
- Node.js 22+
- pnpm (recommended)
# Clone the repo
git clone https://github.com/diegosalasmartinez/link-inspector.git
cd link-inspector
# Install frontend dependencies
cd site
pnpm installRun the frontend:
cd site
pnpm devRun the API locally:
cd api
npx wrangler devAPI available at http://localhost:8787
Note: For local development, update the CORS settings in
api/index.tsto allowlocalhost.
The metadata API accepts a URL and returns all meta tags as JSON:
GET /?url=https://github.comResponse:
{
"og:title": "GitHub",
"og:description": "GitHub is where people build software.",
"og:image": "https://github.githubassets.com/images/modules/open_graph/github-octocat.png",
"twitter:card": "summary_large_image"
}cd site
pnpm buildDeploy the dist/ folder to Cloudflare Pages, Vercel, or Netlify.
cd api
npx wrangler deploy┌─────────────┐ ┌──────────────┐ ┌─────────────────┐
│ User URL │────▶│ URL Parser │────▶│ Query Params │
└─────────────┘ └──────────────┘ │ Table │
│ └─────────────────┘
▼
┌──────────────┐ ┌─────────────────┐
│ CF Worker │────▶│ SEO Preview │
│ (scraper) │ │ Card │
└──────────────┘ └─────────────────┘
- URL Parsing — Client-side JavaScript parses the URL, detects encoding, extracts query parameters
- Metadata Fetching — Cloudflare Worker fetches the target page and extracts meta tags via regex
- Preview Rendering — Results displayed as an interactive card with copy functionality
MIT
Made with Astro, Tailwind, and Cloudflare Workers