Write one prompt. Open every AI.
A free, single-page tool that lets you write your prompt once and instantly open it in ChatGPT, Claude, Gemini, Copilot, Perplexity, DeepSeek, Grok, and Le Chat — prefilled and ready to go.
Live at: prompt-router.pages.dev
- Zero friction — no account, no login, no backend
- 8 AI providers — ChatGPT, Claude, Gemini, Copilot, Perplexity, DeepSeek, Grok, Le Chat
- Quick templates — 10 prompt patterns (Summarize, Explain, Brainstorm, Fix code, etc.) with pin-to-top
- My prompts library — save, pin, and reuse your own prompts (stored in localStorage)
- 11 prompt libraries — curated prompts for Dev, Writing, Marketing, Job Search, Startup, Data, Design, Student, Productivity, Legal, and Sales
- Blog — 12 articles covering prompt engineering tips and library walkthroughs
- 7 languages — English, Spanish, Italian, Portuguese, French, German, Turkish (auto-detected from browser)
- Dark / light mode — follows system preference
- PWA-ready — installable on mobile and desktop via "Add to Home Screen"
- Keyboard shortcuts —
⌘Ssave,⌘Ccopy,Escclear
index.html Main app (single HTML file — no build step)
_worker.js Cloudflare Pages Worker for server-side SEO meta injection
dev.html Dev prompt library
writing.html Writing prompt library
marketing.html Marketing prompt library
job.html Job search prompt library
startup.html Startup prompt library
data.html Data analysis prompt library
design.html Design & UX prompt library
student.html Student prompt library
productivity.html Productivity prompt library
legal.html Legal prompt library
sales.html Sales prompt library
blog.html Blog listing page
blog-*.html Individual blog posts (12 articles)
site.webmanifest PWA manifest
robots.txt Crawler instructions
sitemap.xml Multilingual sitemap (all 7 language URLs)
blog-post.md Blog post copy
googlee5dbd159d1306862.html Google Search Console verification
/favicon-32x32.png 32×32 PNG favicon
/favicon-16x16.png 16×16 PNG favicon
/apple-touch-icon.png 180×180 PNG for iOS home screen
/icons/icon-192.png 192×192 PNG for Android PWA
/icons/icon-512.png 512×512 PNG for Android PWA splash
/og-image.png 1200×630 PNG for social sharing previews
Tip: Use realfavicongenerator.net — upload a 512×512 logo and it generates all icon sizes.
Language is detected in priority order:
?lang=xxURL parameterlocalStorage(pr_langkey — persisted from previous visit)navigator.languages(browser default)- Fallback:
en
Supported codes: en, es, it, pt, fr, de, tr
Language-specific URLs use the ?lang=xx format (e.g. /?lang=fr). These are declared as hreflang alternates in <head> and in sitemap.xml.
The Worker runs on every request to / and injects the correct translated <title>, <meta name="description">, Open Graph / Twitter Card tags, <link rel="canonical">, and <meta property="og:url"> server-side using the HTMLRewriter API.
This ensures:
- Social media scrapers (Facebook, Twitter/X, LinkedIn, Slack) see the right language meta tags when a
?lang=xxURL is shared - Non-JS crawlers index translated titles and descriptions
- Canonical URL and OG URL point to the correct language-specific URL (e.g.
/?lang=fr)
For the default English URL (/ with no ?lang= param), the Worker passes through the request untouched — zero overhead.
All other paths (images, fonts, manifests, etc.) bypass the Worker entirely.
This repo is connected to Cloudflare Pages. Every push to main triggers an automatic deployment.
npm install -g wrangler
wrangler pages deploy . --project-name prompt-router- Go to Cloudflare Pages dashboard → Create project → Connect to Git
- Select this repo
- Build settings:
- Framework preset: None
- Build command: (leave empty)
- Build output directory:
/
- Deploy
The _worker.js in the root is detected automatically — no extra configuration needed.
-
<title>and<meta name="description">translated per language (server-side via Worker) - Open Graph and Twitter Card tags translated per language
-
hreflangalternate links in<head>for all 7 languages -
xhtml:linkhreflang entries insitemap.xml -
robots.txtpointing to sitemap -
rel="canonical"rewritten per language variant (via Worker) -
og:urlrewritten per language variant (via Worker) - Keyword-rich
<h1>on homepage (tagline as H1, logo as<div>) - Schema.org
WebApplicationstructured data (homepage) - Schema.org
WebPage+BreadcrumbListstructured data (library pages) - Schema.org
BlogPostingstructured data withdateModified(blog posts) - Schema.org
ItemListstructured data dynamically generated (library pages) -
article:authorandarticle:sectionOG meta tags (blog posts) - Internal cross-links between related library pages ("Explore more prompts" section)
- Submit sitemap to Google Search Console
- Submit sitemap to Bing Webmaster Tools
- Test social previews: opengraph.xyz
- Test structured data: validator.schema.org
- No build step — pure HTML/CSS/JS, single file
- Fonts from Google Fonts CDN with
display=swap - No analytics, no tracking, no server — prompts never leave the browser
- Estimated Lighthouse: 95–100 Performance, 100 Accessibility, 100 Best Practices, 95+ SEO