URL Encoder and Decoder Online

Paste text or a link, then press Encode or Decode. Pick the encoding type and character set, and see any link split into its parts.

What Is URL Encoding?

A web address can only contain a limited set of characters. Spaces, accents, Arabic letters, emoji and symbols such as & and # are either not allowed or have a special meaning. URL encoding, also called percent encoding, replaces each unsafe byte with a percent sign and two hexadecimal digits. A space becomes %20, an ampersand becomes %26, and the letter é becomes %C3%A9. Decoding turns those codes back into readable text.

How to Use the URL Encoder and Decoder

  1. Type or paste your text or link into the left box.
  2. Press Encode to make it safe for a link, or Decode to read an encoded one. With live mode on, the result updates as you type.
  3. Choose an encoding type and character set if the defaults do not suit you.
  4. Press Copy result, Download, or Use result as input to convert it back and check your work.

Encoding Types Explained

Which Characters Get Encoded?

Letters, numbers and the four symbols - _ . ~ are always safe and are never encoded. Characters such as : / ? # @ ! $ & = + , and ; are reserved: they have a job in the address, so they are encoded when they appear inside a value. Everything else, including spaces, quotes, accents and every non-English letter, is encoded. Common codes include space %20, & %26, = %3D, # %23, ? %3F, / %2F, + %2B and % itself %25.

Decoding Options

Character Sets and Non-English Text

Percent codes represent bytes, so text must first be turned into bytes. Modern systems use UTF-8, in which é is two bytes (%C3%A9) and an emoji is four. Older systems used single-byte sets such as ISO-8859-1, where é is just %E9. If you decode with the wrong set, accented letters turn into odd symbols, so try another set when a result looks garbled. The tool tells you when part of the data is not valid in the chosen set.

Understand Any URL

When you paste a full address, the breakdown panel splits it into protocol, host, port, path, fragment and every query parameter, all decoded. Passwords in a link are hidden. To practise, paste the address of a tool page such as the Lumara Crypto Tax Calculator and see how it is made up.

Press Copy parameters as JSON to turn the query string into a JSON object, with repeated keys grouped as lists. Paste it into the JSON Formatter & Validator to inspect or tidy it. Query values are sometimes JSON themselves, so decode first, then format.

Common Mistakes

How Percent-Encoding Works

Text is first turned into bytes, normally with UTF-8. Every byte that is not a safe character is then written as a percent sign followed by two hexadecimal digits. A space is one byte, so it becomes %20. The letter é takes two bytes, so it becomes %C3%A9, and Arabic letters take two bytes each. Decoding reverses the process: each code turns back into its byte, and the bytes are read as text.

Examples

When You Need It

Frequently Asked Questions

What is the difference between %20 and +?

Both can mean a space. %20 works anywhere in a URL. + means a space only in form-style query strings.

Should I encode the whole URL or just parts?

Encode the values, not the structure. Use Everything for a single value, and Full URL only to tidy a complete address.

What does %25 mean?

It is an encoded percent sign. Seeing %25 often means text was encoded twice.

Is URL encoding the same as Base64?

No. URL encoding escapes unsafe characters one at a time. Base64 rewrites data in a different alphabet. See the Base64 Encoder/Decoder for that.

Does it support Arabic and emoji?

Yes. They are converted with UTF-8 by default.

Is my text sent or saved?

The conversion runs in your browser. The tool does not send or save your text. The page also loads a cookie banner and an advertisement from third-party services, described in our Privacy Policy. Do not paste secrets or links that contain private tokens into any online tool.

Related Tools and Guide