Percent-encodes text for URLs or decodes it back.
URL Encode is a free online tool that percent-encodes text into a URL-safe form and decodes it back. Encoding escapes spaces, reserved characters, and Unicode (including emoji) as UTF-8 percent sequences, while decoding reverses the process. It is handy whenever you need to safely embed values in query strings, links, or APIs.
No. All encoding and decoding happen entirely in your browser using the built-in encodeURIComponent and decodeURIComponent functions. Nothing you type is uploaded or stored remotely.
No. It uses decodeURIComponent, which treats '+' as a literal plus character. Form-style '+'-as-space decoding is a separate convention and is not applied here.
Decoding fails on malformed percent sequences, such as a lone '%' or an incomplete escape like '%E0%A4'. Make sure every '%' is followed by two valid hex digits that form complete UTF-8 byte sequences.
Encoding follows encodeURIComponent, so letters, digits, and the characters - _ . ! ~ * ' ( ) pass through untouched. Everything else, including spaces and reserved characters, is percent-encoded.
Switch the mode to Decode and paste the encoded string. Encoding then decoding the same text returns the exact original input.