URL Encoder

Percent-encode text and links safely, as you type

Encoded text

Everything happens in your browser: your text is never sent anywhere.

How to encode a URL

Step 1

Type or paste the text or link to encode

Step 2

Choose what to encode and the encoding

Step 3

Copy the encoded text into your link

What URL encoding does

A link may contain only Latin letters, digits and a few signs, so everything else is written as percent codes: a space becomes %20, & becomes %26, and a letter such as é becomes the codes of its bytes in UTF-8, %C3%A9. Type or paste text into the first field and the encoded text appears as you type. By default, under “What to encode”, everything except A–Z, a–z, 0–9 and - _ . ~ is encoded, which is right for a value you put into a query parameter, such as a search phrase, a name or another link. Tick “Spaces as +” for the form style of many query strings, as in q=hello+world.

To clean up a whole link instead, choose “Only what a URL cannot contain”: slashes, question marks, & and = and the codes already in the link stay as they are, and only spaces, quotes and characters beyond ASCII are encoded. Under “Encoding” you can choose an older code page, such as Windows-1252, Windows-1251 or Shift_JIS, for old sites that expect it; characters it does not have are listed under the result. Each line is encoded on its own, so you can encode a list at once. Switch to “Decode”, or click “Swap”, to turn percent codes back into text.

Was AnyTextEditor useful to you?

Hello. We tried very hard to create a convenient website that we use ourselves. If you liked any of our tools and editors, add it to your bookmarks, because it will be useful to you more than once. And don't forget to share on social media. We will be better for you.