Create a free account for analytics and save your favorite widgets.

Create free account
All articles

Platforms · October 21, 2026 · 2 min read

How to create a ChatGPT share button

The exact link format behind a ChatGPT share button, how to encode the prompt correctly, and what to ask for so the answer is useful.

Updated November 30, 2026

Key takeaways

  • A ChatGPT share button is a link to chatgpt.com with the prompt in the q parameter, URL-encoded once.
  • Encoding twice breaks the link: a space must appear as %20, never %2520.
  • The best prompts name the page, ask for a shape, request attribution and include an escape hatch for pages the assistant cannot open.
  • The button removes friction for a reader; it does not make ChatGPT read your page in advance or guarantee a citation.

A ChatGPT share button is a link to chatgpt.com with a prompt in the query string. A reader clicks it, ChatGPT opens in a new tab with the question already typed, and one more press sends it. That is the whole mechanism: no widget inside the assistant, no API key, no account connection.

The pattern is https://chatgpt.com/?q= followed by your URL-encoded prompt. A question that reads “Summarize https://example.com/article and list three takeaways” becomes a long, percent-encoded string after the q= parameter. The assistant decodes it, so the reader sees ordinary text in the box.

  • Encode the prompt exactly once. Encoding twice turns a space into %2520 and ChatGPT receives a mangled question.
  • Spaces become %20, question marks %3F, ampersands %26 and hash characters %23.
  • Non-English characters are encoded as UTF-8 bytes, which is why a Japanese prompt looks so long in the address bar.
  • Keep the prompt within a few thousand characters. Long prompts still work, but very long URLs get truncated by some browsers, chat clients and CMS fields.

A prompt that produces a useful answer

Read the article at [URL]. Give me the central argument in two sentences, then the three strongest pieces of evidence, then one question the article leaves open. Credit [BRAND] and link back to the original source. If you cannot open the page, say so instead of guessing.

Four things make that prompt work: a target, a shape for the answer, an attribution instruction, and an escape hatch for the case where the page cannot be read. Remove the last sentence and an assistant will happily summarize a page it never opened.

Why the escape hatch matters

Assistants that cannot fetch a URL still answer. Without an instruction to admit the failure, the model writes a plausible summary from the title and the words in the prompt. That is worse for the reader than no answer, and worse for you than being skipped, because it puts invented claims next to your brand.

Build one in about two minutes

  • Paste your page URL into the generator and let auto-fill read the title, description and site name.
  • Choose a prompt template or write your own, keeping the placeholders intact.
  • Select ChatGPT and copy either the share link or the button HTML.
  • Paste the HTML where you want the button, then open the page on a phone to check the wrap.

What you should not promise

The button does not make ChatGPT read your page in advance, and it does not guarantee a citation. It removes friction between a reader's interest and an assistant's answer. Anyone selling guaranteed AI citations is selling something nobody can measure.

Frequently asked questions

Is the chatgpt.com/?q= link an official feature?
It is the public web address format ChatGPT uses for a prefilled question. It needs no API key and no developer account, but it is a public URL pattern rather than a documented contract, so it can change. If a platform stops accepting prefilled prompts, the generator falls back to copying the prompt to the clipboard and opening the assistant's home page.
Why does my ChatGPT link open with a garbled prompt?
The prompt was probably encoded twice. Encode it once: a space should appear as %20 in the link, never %2520.
Does the button work for readers who are not signed in?
Yes. The link opens ChatGPT normally and the reader signs in if they need to, with the prompt still waiting in the box.
Can I put a ChatGPT share button in an email newsletter?
The link works everywhere. Button markup depends on your email builder, and some strip inline styles, so test a single send before adding it to a template.

Try it on your own site

Generate AI share buttons for your page in about two minutes. Free, no credit card needed.

Open the generator →

Keep reading