URL Encoder/Decoder
Free online URL encoder/decoder tool, no installation required
About URL Encode/Decode
Percent-encode text for safe use inside a URL, or decode an already percent-encoded string back to readable text. The tool wraps the browser's native encodeURIComponent and decodeURIComponent functions, so behavior matches the WHATWG URL standard used by every modern browser and Node.js.
How to Use
1. Toggle the Encode or Decode mode tab.\n2. Paste plain text (encode) or a percent-encoded string (decode) into the input area.\n3. Click the Encode / Decode button.\n4. Copy the result with the Copy button. If the input cannot be decoded (for example, a stray % followed by non-hex digits), an error is shown.
What Gets Encoded & Encoding Rules
encodeURIComponent encodes every character except the unreserved set A–Z a–z 0–9 - _ . ! ~ * ' ( ). Spaces become %20, / becomes %2F, & becomes %26, and Unicode text is encoded as UTF-8 bytes then percent-escaped (é → %C3%A9). It is the right choice for query parameter values and form bodies. Use it for full path or query components, not for assembling a complete URL, since it will also encode the / separators.
▶What is the difference between encodeURI and encodeURIComponent?
▶Why does a space become %20 and not +?
▶Why does decoding fail on my input?
▶Can I encode a complete URL in one step?
If this tool has been helpful to you, consider buying me a coffee.
Buy me a coffee