URL Encoder / Decoder
WEBFree online URL encoder and decoder to percent-encode or decode text and full URLs instantly in your browser.
What is the URL Encoder / Decoder tool?
This URL encoder and decoder converts text to and from percent-encoding instantly, right in your browser — free, with no sign-up and nothing uploaded. Pick a direction (encode or decode), paste your text or link, and the result appears live as you type. Copy it with one tap or share it directly.
What sets it apart is the scope choice most tools get wrong: Component mode escapes reserved characters like spaces, &, = and # for a single query value or path segment (encodeURIComponent), while Whole URL mode keeps a complete address's structure intact and escapes only unsafe characters (encodeURI). Picking the right one is the difference between a working link and a broken one. The converter is fully Unicode-aware, so it decodes URLs full of %D8-style escapes — the way Arabic links appear after copying — back into readable text, and encodes non-Latin text as correct UTF-8 escapes. Malformed input, like a stray % or a truncated %2, is caught and explained instead of failing silently.
Because everything runs locally, your links and data never leave your device — which matters, since URLs often carry tokens, API keys and private query strings you should not paste into a server-backed tool. The page keeps working offline once loaded and is as comfortable on a phone as on a desktop, whether you are debugging a webhook, cleaning a tracking link or fixing a broken query string.
How to use the URL Encoder / Decoder
- Choose Encode or Decode.
- Pick Component for a single value, or Whole URL to preserve a full address's structure.
- Paste your text or URL into the input.
- Read the live result below — errors like a stray % are flagged with an explanation.
- Copy the converted output or share it directly.
Frequently asked questions
What is percent encoding?
URLs may only contain a limited set of characters, so everything else — spaces, non-Latin letters, symbols — is written as % followed by the character's UTF-8 bytes in hex. %20 is a space, %D8%A7 is the Arabic letter alef. Encoding applies that transformation; decoding reverses it.
Why do Arabic URLs look like %D8%A7…?
Browsers show Arabic (and other Unicode) URLs as readable text, but when you copy the link the address is converted to its percent-encoded UTF-8 form, which starts with sequences like %D8 and %D9. Paste the link here in Decode mode and it turns back into readable Arabic instantly.
encodeURI vs encodeURIComponent — which do I need?
encodeURIComponent (Component mode) escapes reserved characters like &, =, ? and #, so use it for a single value you are inserting into a query string or path. encodeURI (Whole URL mode) leaves those structural characters alone, so use it on a complete address you want to keep working as a URL. Encoding a full URL with the component function breaks it.
Why does my URL show %20 instead of a space — and what about +?
%20 is the standard percent-encoding for a space anywhere in a URL. The + form is an older convention specific to query strings submitted by HTML forms. This tool always produces %20, which is valid in both places; when decoding, a + inside a query string may simply be a space from a form submission.
Is my data uploaded anywhere?
No. Encoding and decoding run locally in your browser using built-in JavaScript functions — nothing is sent to a server, so the tool is safe for tokens, API keys and private links, and works offline once loaded.
Why do I get a 'not valid percent-encoding' error?
Decoding requires well-formed escapes. A lone % or an incomplete sequence like %2 or %zz cannot be decoded, so the tool flags it and tells you why. Fix or remove the stray character and the result updates instantly.
Is the URL encoder free?
Yes, completely — no sign-up, no limits and no ads inside the tool. Encode and decode as many links as you like.
From the blog
EditorsBase64 decode, URL encode & HTML entities explained
Decode Base64, percent-encode URLs and escape HTML entities free in your browser. Understand what each does — nothing is uploaded.
Read article
Codes & GeneratorsQR code generator — free codes that never expire
Free QR code generator for links, text and Wi-Fi — codes never expire, no sign-up, generated in your browser. Download and print at any size.
Read article