All Developer

URL Encoder and Decoder

URL-encode or decode percent-encoded strings.

url-encoder.local
Result
The result will appear here.

Overview

Encodes text into URL-safe form and decodes it back. URLs can only contain a limited set of characters, so spaces, symbols, and non-English characters have to be percent-encoded to travel safely in a link or query string. It runs in your browser.

How it works

The tool applies percent-encoding: any character that is not allowed directly in a URL is replaced by a percent sign followed by its character code in hexadecimal. A space, for example, becomes %20. Decoding reverses this, turning the percent codes back into the original characters. This lets you safely put arbitrary text into a query parameter or path.

How to use it

  1. Choose encode or decode.
  2. Paste your text or encoded string.
  3. Read the converted result.
  4. Copy it into your URL or read the decoded value.

Examples

Encoding

A value like "New York" becomes "New%20York" so it can sit safely in a query string.

Decoding

Paste an encoded parameter from a link to read the plain text it stands for.

FAQ

Why do URLs need encoding?
URLs allow only certain characters. Encoding lets spaces, symbols, and other text travel without breaking the link.
What does %20 mean?
It is the percent-encoded form of a space.
Does it handle non-English characters?
Yes. Those characters are encoded into their byte values so they survive being placed in a URL.
Is my data uploaded?
No. Encoding and decoding run in your browser.

Related tools

Embed this tool

Paste this snippet to put the tool on your own site. It runs entirely in the visitor's browser, the same as it does here.

<iframe src="https://tooldok.com/embed/url-encoder/" title="URL Encoder and Decoder by Tooldok" width="100%" height="560" style="border:1px solid #16130d;border-radius:16px;max-width:720px" loading="lazy"></iframe> <p style="font:13px sans-serif"><a href="https://tooldok.com/tools/url-encoder/" target="_blank" rel="noopener">URL Encoder and Decoder</a> by <a href="https://tooldok.com/" target="_blank" rel="noopener">Tooldok</a></p>