Skip to content
Tooldict

URL Encode / Decode

Encode text or a link into a form that is safe to use in URLs, or decode an encoded URL (with %20 etc.) back into readable text.

Result

About

URL encoding (percent-encoding) lets spaces, accented letters and special characters like & ? = travel through links without breaking them. A space becomes %20 and special characters become % codes.

This tool both encodes and decodes and handles UTF-8 characters correctly. Everything runs in your browser.

How to use

  1. Choose the Encode or Decode tab.
  2. Paste your text or URL into the box.
  3. Copy the result.

Character examples

Space
A space is encoded as “%20” (or “+” in some contexts).
Special characters
“&” → “%26”, “?” → “%3F”, “=” → “%3D”. Carries them without breaking parameters.
Accented letters
“ş” → “%C5%9F” as UTF-8 bytes; it round-trips back exactly when decoded.
When is it needed?
When putting a search term or a link into a URL's query (?q=…) part.

Frequently Asked Questions

Why is URL encoding needed?
URLs can only safely carry certain characters. Without encoding, spaces and special characters can break a link; encoding prevents that.
Should I encode the whole URL or just a part?
Usually you encode only a query parameter value. This tool uses encodeURIComponent, which is the right choice for parameter values.

Other tools

Embed this tool

Copy the code below and paste it into your site's HTML to embed this tool for free. The snippet includes an attribution link back to the source.

<iframe src="https://tooldict.com/embed/en/url-encode-decode" title="URL Encode / Decode" width="100%" height="600" style="border:1px solid #e2e8f0;border-radius:16px;max-width:680px" loading="lazy"></iframe>
<p style="font:13px/1.5 sans-serif">Powered by <a href="https://tooldict.com/en/url-encode-decode" target="_blank" rel="noopener">URL Encode / Decode</a> — Tooldict</p>