Dev.to AI πŸ€– Ai πŸ‘ 0 πŸ“– 5 min read

How to open ChatGPT, Claude, Gemini, Perplexity and Mistral with a prompt from a link (tested November 2026)

Short answer: you can open ChatGPT, Claude, Perplexity and Mistral with a prompt already filled in by adding ?q=<url-encoded prompt> to the right URL, but only Claude Desktop documents it (claude://claude.ai/new?q=). Eve

Short answer: you can open ChatGPT, Claude, Perplexity and Mistral with a prompt already filled in by adding ?q=<url-encoded prompt> to the right URL, but only Claude Desktop documents it (claude://claude.ai/new?q=). Everything else is undocumented behaviour that can change at any time, and three of the five assistants send the message without the person tapping send. Gemini has no reliable URL prefill: copy the prompt and open the app.

Below is what each URL does today, tested on iOS, Android and desktop between 11 and 17 November 2026, plus the patterns that hold up when you put these links in a page, an email or a QR code.

Evidence levels

None of this is stable API. To keep it honest, every claim below uses one of these levels:

  • Documented: the provider's own documentation describes it.
  • Observed: seen working in device tests or by several third parties. Undocumented, so it can break.
  • Conflicting: sources disagree.
  • Unverified: plausible, no reliable report either way.
  • Unsupported: known not to work.

The URLs

Assistant URL Evidence Sends by itself?
ChatGPT https://chatgpt.com/?q={prompt} Observed Signed in: no, fills the composer. Signed out (web): yes, immediately
Claude (web) https://claude.ai/new?q={prompt} Observed No, in every test
Claude Desktop claude://claude.ai/new?q={prompt} Documented (macOS, Windows, Linux) No: prefilled "so you can review and send it"
Perplexity https://www.perplexity.ai/search?q={prompt} Observed Yes, runs as soon as it opens
Mistral (Le Chat / Vibe) https://chat.mistral.ai/chat?q={prompt} Observed Yes, sends as soon as it opens
Gemini https://gemini.google.com/app (no prompt) Documented entry point Nothing to send: the person pastes

{prompt} must be URL-encoded (encodeURIComponent in JavaScript).

Assistant by assistant

ChatGPT

?q= is read by the web app. Signed in, it fills the composer and waits. Signed out on the web, it sends the message immediately (observed 2026-11-11). On iOS and Android the link opened the ChatGPT app with the prompt. A community-reported &temporary-chat=true flag keeps the chat out of history; treat it as experimental.

There is no official deep-link scheme for the mobile app. OpenAI community threads asking for one are still open, and a 2025 security advisory (Tenable TRA-2025-22) is one of the few public sources describing ?q= at all.

Claude

On the web, claude.ai/new?q= fills the composer and never sent by itself in our tests, signed in or out. Two failure cases: signed out, Android Chrome lost the prompt at the login page (desktop Chrome kept it through sign-in), and a direct camera scan of a QR code on iOS lost the message.

On desktop, Anthropic documents a URL scheme in the help article "Open Claude Desktop with a link" (June 2026): claude://claude.ai/new?q=... opens a new chat with the prompt prefilled for review, values must be URL-encoded, and q is truncated at roughly 14,000 characters. The same scheme opened the mobile apps with the message on iOS and Android in our tests, but that part is not documented, and a custom scheme fails outright if the app is not installed. Do not make it your only link.

Perplexity

/search?q= runs the query immediately and opens the app when it is installed (iPhone, Android), the browser otherwise. /?q= behaved the same. Signed out on the iPhone, it ran the question, then asked to sign in, and the message was gone after sign-in; Android answered signed out without asking.

Mistral (Le Chat, now Vibe)

chat.mistral.ai/chat?q= sends the message as soon as it opens, in the app when installed. Signed out it asks to sign in; desktop and Android kept the message through sign-in, the iPhone did not show it (to retest).

Gemini

No reliable URL prefill. Google's help pages describe typing the prompt. One generator site claims gemini.google.com/app?q= works; most reports say it needs a browser extension, and the extensions exist precisely because it does not. Default to copy-and-open.

Patterns that hold up

1. Always show the full prompt before the click. Three of five assistants can send the message without the person seeing it. If your link carries instructions, the person should be able to read them on your page first.

2. Always offer "Copy prompt" next to the link. It covers Gemini, in-app browsers (Facebook, Instagram) that do not hand off to other apps, sign-in pages that drop the prompt, and any parameter that stops working.

3. Keep URL-encoded prompts under about 2,000 characters for mobile and QR. It is a conservative ceiling that held up across our device tests. Claude Desktop documents ~14,000 for its own scheme; we did not test long prompts on mobile. For long content, put a URL to the content in the prompt instead of the content itself.

4. Prefer https:// links over custom schemes. Universal links and app links fall back to the browser when the app is missing; claude:// does not.

5. Never put personal data in the URL. It ends up in browser history, in the assistant's history and, for QR codes, in print.

6. Re-test before shipping, and again later. These parameters have changed without notice before. Record the date you tested.

Frequently asked questions

Is there an official way to open ChatGPT with a prompt?

Not that OpenAI documents. chatgpt.com/?q= works today (observed November 2026) but is undocumented.

Does claude.ai/new?q= still work?

Yes, as of November 2026 on web, iOS and Android, without sending by itself. The desktop claude:// scheme is the only documented version.

Why did my link send the message immediately?

ChatGPT does this when the person is signed out on the web; Perplexity and Mistral always do. Show the prompt on your page and offer a copy button.

Can I prefill Gemini from a URL?

Not reliably. Copy the prompt to the clipboard and open gemini.google.com/app.

Disclosure: the device-test data comes from AIL, an open compatibility table and link format that I maintain. The table, the test protocol and the raw status.json are public, and corrections from other devices are welcome.

πŸ“° Read the original article on Dev.to AI

Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes β€” full credit and traffic to the original publisher.