This URL encoder converts unsafe and non-ASCII characters into a URL-safe format that browsers and servers accept. It is also known as percent-encoding because it uses the percent sign. Paste your link, and copy the encoded result. It is free and runs in your browser.
https://www.google.com/search?q=test search
https%3A%2F%2Fwww.google.com%2Fsearch%3Fq%3Dtest%20search
| Character | Encoded |
|---|---|
(space) | %20 |
! | ! |
# | %23 |
$ | %24 |
& | %26 |
/ | %2F |
: | %3A |
= | %3D |
? | %3F |
@ | %40 |
é | %C3%A9 |
Letters, digits and - _ . ! ~ * ' ( ) are never encoded.
Encode values placed after the ? in a link so special characters do not break the URL.
Make file names and titles safe to use inside a link.
Encode accented letters, other scripts and emoji so every browser reads them correctly.
URL encoding, also called percent-encoding, replaces unsafe or non-ASCII characters in a URL with a percent sign followed by two hexadecimal digits. For example, a space becomes %20.
Paste your link or text into the input box. The encoded result appears instantly in the result box. Press Copy result to use it.
URLs can only safely contain a limited set of ASCII characters. Spaces, symbols and non-English letters must be encoded so browsers and servers read the link correctly.
By default every special character is encoded, including : / ? = and &, which suits a value placed inside a query string. Tick Keep URL structure to leave those characters alone and encode only unsafe ones such as spaces, which suits a whole link.
%20 is valid everywhere in a URL. A plus sign for a space is used only in query strings submitted from HTML forms. Tick Use + for spaces if you need that form style.
Letters A to Z, digits 0 to 9 and the characters - _ . ! ~ * ' ( ) are left as they are.
Yes. Text is converted to UTF-8 first, so characters such as é, 日本 or an emoji are encoded correctly, for example é becomes %C3%A9.
No. The tool runs in your browser, so your text stays on your device. It is free and needs no account.
Bookmark this page: press Ctrl+D (Windows) or Cmd+D (Mac).
Last updated: November 2026 · Free · No sign-up · Runs in your browser