What is URL encoding?
A way to write characters a URL cannot hold, like spaces or &, as % and two hex digits, so the link reaches the server intact.
Paste an encoded URL to turn %20 and the other codes back into readable text, or pick Encode to make any text safe for a link.
Codes like %20 to text
Both are read when decoding
A + is read as a space
Paste an encoded link or text, or open a .txt file.
The decoded text shows here as you paste, ready to copy or download.
Decode URL online to plain text and read each query parameter, or URL encode text, a full link or one value inside it.
Free with no sign-up and no limit, for tracking links, API calls, redirects, form data and links that look broken.
Decode an encoded link, read its parameters and encode new text for a URL in three steps.
Paste an encoded link or any text with codes like %20 and %3A into the left box. The plain text shows on the right.
Open Parts to see the link split up: protocol, host, path and every query parameter with its value decoded.
Pick Encode and type. Choose Part of a URL for one value or Whole URL for a full link, then %20 or + for spaces.
In a URL, only letters, digits and the marks - . _ ~ are safe everywhere. Any other character can be written as a percent sign and two hex digits, the number of its byte. A space is byte 32, or 20 in hex, so it becomes %20; a slash becomes %2F and a colon %3A.
Letters outside English go through UTF-8 first, so one character can need several codes: é is %C3%A9 and the 👋 emoji is %F0%9F%91%8B. The decoder joins those bytes back into the character. Old links written in Windows-1252, where é is a lone %E9, are read too and marked.
Characters such as ? & = and # give a URL its shape, so they stay as they are in a whole address but must be encoded inside a value. A search for fish & chips sent as ?q=fish & chips splits in two; ?q=fish%20%26%20chips arrives in one piece.
Part of a URL works like JavaScript's encodeURIComponent: it encodes everything except letters, digits and - _ . ! ~ * ' ( ), so the result is safe to drop into a query value, a path segment or a redirect link carried inside another URL.
Whole URL works like encodeURI: it keeps : / ? # & = and the other marks that build the address, and encodes only spaces, quotes and letters outside English. A %XX code already in the link is left alone, so nothing is encoded twice.
Spaces can be written as %20 or as +. Web forms send + (application/x-www-form-urlencoded) and PHP's urlencode does the same, while a path needs %20. Pick + and the decoder reads + as a space too; pick %20 and a + stays a plus sign.
The Codes tab lists every %XX code in your text with the character it stands for, such as %26 for &.
Paste a full link to see its protocol, host, port, path, hash and every parameter, each decoded.
Encode & = ? # / + and quotes inside a value, or keep them where they build the address of a link.
Accents, Chinese, Arabic and emoji become UTF-8 bytes when encoded and return as the same letters.
A link encoded twice shows %2520 for a space. The tool spots it; Decode again peels off one layer.
A % without two hex digits stays as it is and its line is named, instead of a URI malformed error.
Every link is decoded and encoded on your device. Nothing is sent to a server, logged or shared.
Decoding, encoding and the Parts view run in this browser tab, so tokens in your links stay private.
Only the text you type is kept, in this browser, for your next visit. Clear removes it at once.
A free URL decoder and encoder with no sign-up, no email and no cap on how many links you decode.
A way to write characters a URL cannot hold, like spaces or &, as % and two hex digits, so the link reaches the server intact.
It is a space. 20 is hex for 32, the byte of a space, so a file named my report.pdf shows in a link as my%20report.pdf.
Paste it above. URL encoding is not encryption and has no key, so decoding turns %3A, %2F and the rest back into : and / at once.
Write %20 in a path, and %20 or + in a query string. Form data and PHP's urlencode use +; encodeURIComponent uses %20.
Call encodeURIComponent(text) for one value and encodeURI(url) for a whole link. decodeURIComponent(text) turns it back.
Import urllib.parse, then call quote(text), or quote_plus(text) for + spaces. unquote(text) and unquote_plus decode it again.
%2F is a forward slash. It is encoded when a / sits inside a value, such as a redirect link, so it is not read as a folder break.
A to Z, a to z, 0 to 9 and - . _ ~ never need encoding. Reserved marks such as / ? # & = are safe only where they build the URL.
Still stuck, or found a problem? Email dobliquestudio@gmail.com and we will help.