URL Encode/Decode
Percent-encode or decode URL components.
Your files stay on your device
This tool processes everything locally in your browser. Nothing is uploaded to a server.
π About URL Encode/Decode
URLs may only contain a limited set of characters. Spaces, Korean text, and reserved symbols such as &, = and ? have to be percent-encoded, meaning each byte is written as % followed by two hexadecimal digits. This tool encodes text into that form and decodes percent-encoded strings back into readable text.
It uses JavaScriptβs encodeURIComponent and decodeURIComponent, which are designed for individual URL components like a query parameter value or a path segment. That means reserved characters, including / and :, are encoded too. If you paste an entire URL and press Encode, the slashes and colon will also be converted, so encode only the part you are inserting, such as a search keyword.
Typical uses include building query strings by hand, reading tracking links full of %XX sequences, and debugging redirect parameters. Text is first converted to UTF-8, so βμλ β becomes %EC%95%88%EB%85%95. All processing happens in your browser.
π How to use
- 1
Paste the text
Enter the value you want to encode, or a percent-encoded string you want to read, in the Input box.
- 2
Encode or decode
Click Encode to percent-encode the text, or Decode to convert %XX sequences back to characters.
- 3
Copy the output
Use the copy button under the Output box to paste the result into your URL or code.
β FAQ
Why are slashes and colons encoded too?
The tool uses encodeURIComponent, which treats the input as a single component and encodes every reserved character. Encode only the parameter value, not the whole URL.
Are spaces converted to + or %20?
Spaces become %20. A + sign in the input is encoded as %2B, and when decoding, a literal + is left as is rather than turned into a space.
Why does decoding show an error?
A % that is not followed by two valid hex digits, or a byte sequence that is not valid UTF-8, cannot be decoded. Check for stray % characters or truncated text.