Free tool
AI prompt URL encoder
AI assistants accept prompts in the address bar. This tool encodes your text exactly the way those links need it, including spaces, accents, emoji and line breaks.
92 characters · 122 characters once encoded
Summarize%20this%20article%20and%20list%20its%20three%20most%20useful%20takeaways%3A%20https%3A%2F%2Fexample.com%2FarticleReady-made links
Each link opens that assistant with your prompt prefilled.
- ChatGPThttps://chatgpt.com/?q=Summarize%20this%20article%20and%20list%20its%20three%20most%20useful%20takeaways%3A%20https%3A%2F%2Fexample.com%2Farticle
- Claudehttps://claude.ai/new?q=Summarize%20this%20article%20and%20list%20its%20three%20most%20useful%20takeaways%3A%20https%3A%2F%2Fexample.com%2Farticle
- Perplexityhttps://www.perplexity.ai/search?q=Summarize%20this%20article%20and%20list%20its%20three%20most%20useful%20takeaways%3A%20https%3A%2F%2Fexample.com%2Farticle
- Google AIhttps://www.google.com/search?udm=50&q=Summarize%20this%20article%20and%20list%20its%20three%20most%20useful%20takeaways%3A%20https%3A%2F%2Fexample.com%2Farticle
- Grokhttps://grok.com/?q=Summarize%20this%20article%20and%20list%20its%20three%20most%20useful%20takeaways%3A%20https%3A%2F%2Fexample.com%2Farticle
- You.comhttps://you.com/search?q=Summarize%20this%20article%20and%20list%20its%20three%20most%20useful%20takeaways%3A%20https%3A%2F%2Fexample.com%2Farticle
How encoding works
A space becomes %20, a question mark becomes %3F, and non-ASCII characters are encoded as UTF-8 bytes. Encoding the whole prompt once is correct; encoding it twice turns %20 into %2520 and breaks the link.
What this tool does
This tool turns a prompt into the exact string an AI assistant's link expects, then builds the finished links for you. Type or paste your question and it returns the percent-encoded prompt plus one prefilled URL per assistant.
Encoding is what makes a prompt safe inside a URL. Spaces, question marks, ampersands, hash characters, accents and emoji all have reserved meanings or need byte-level escaping, so percent-encoding converts each one into a form the address bar and the assistant can both read.
It is the piece you need when you build your own buttons by hand, share a prefilled question in a newsletter, or debug a link that arrives with a broken prompt.
How it works
- 1
Paste your prompt
Type the question, including the page URL you want the assistant to read. Line breaks and emoji are fine.
- 2
Read the encoded string
The tool percent-encodes the prompt once, using UTF-8 for non-ASCII characters, and shows both character counts so you can see how much the encoding adds.
- 3
Copy a finished link
Each assistant row holds the complete URL: the assistant's address, the prompt parameter and your encoded prompt. Copy the one you need.
- 4
Paste it where the link belongs
Use it as an href, inside a button, in an email, or in a page builder that accepts a URL.
Good to know
- Encode once. Encoding an already-encoded prompt turns %20 into %2520 and the assistant receives a mangled question.
- Some assistants prefill a prompt box and others accept the question directly in the URL. The ready-made links handle both.
- Very long prompts produce very long URLs, and some browsers, chat clients and CMS fields truncate them. Keep prompts to a few thousand characters.
- A prefilled link is a convenience for the reader; it does not make an assistant read a page it cannot open.
Frequently asked questions
- What does URL encoding a prompt do?
- It converts reserved and non-ASCII characters into a percent-encoded form so the prompt survives the trip through a URL. A space becomes %20, a question mark %3F, and an emoji becomes a sequence of UTF-8 bytes.
- Why is my encoded prompt so much longer?
- Every space becomes three characters (%20) and each non-ASCII character becomes several, so an encoded prompt is always longer than the original. The tool shows both counts.
- Should I encode the prompt once or twice?
- Once. Double encoding turns %20 into %2520, which the assistant decodes into literal percent characters instead of spaces.
- Which assistants accept a prompt in the URL?
- The ready-made links cover ChatGPT, Claude, Perplexity, Google AI, Grok and You.com. Each assistant's support for prefilled prompts can change, so test the link you plan to publish.
- Can I use the encoder without an account?
- Yes. Everything runs in your browser, and nothing is stored or sent to a server.
Link to this tool
Writing about AI share buttons? Editors, newsletters and resource pages are welcome to link here. Copy the address, the ready-made HTML link with suggested anchor text, or a styled button you can paste as-is.