MyToolsBay
Developer tool

URL Encoder & Decoder

Encode and decode URLs and text using standard URL percent encoding directly in your browser.

Text / URL input

Enter text or a URL to percent-encode it.

Result

Your encoded or decoded result will appear here.

No output yet.

What this converter does

The tool applies standard URL percent-encoding to text or decodes it back. Non-ASCII characters are encoded as UTF-8 byte sequences, so accented letters, symbols, and emoji survive the round trip.

Everything runs in your browser and nothing is sent to a server.

Encoding a whole URL vs a value

This converter uses component encoding, which also encodes the characters that separate parts of a URL. That is exactly what you want for a query-string value, a path segment, an email address in a link, or a redirect parameter.

For a complete URL, encode only the part that needs it. If you paste a full address and encode everything, : / ? & = # become percent triplets and the link no longer works until it is decoded.

Common characters

CharacterEncoded
space%20
&%26
=%3D
?%3F
/%2F
#%23

Why decoding fails

  • A stray % or an incomplete triple such as %E0%A4.
  • Text that was encoded twice and needs decoding twice.
  • A + sign left as + — form-encoded data uses + for spaces, which this tool does not convert.
  • Characters that were never percent-encoded, mixed with ones that were.

Limitations to know before you start

  • No full-URL mode that preserves separators.
  • No automatic handling of form-encoded + characters.
  • No automatic double-decode detection.

How to use it

  1. 1Choose URL Encode or URL Decode.
  2. 2Enter your URL or encoded text.
  3. 3Click the conversion button and copy the result.

Features

  • ✓ Encode URLs and text
  • ✓ Decode percent-encoded URLs
  • ✓ UTF-8 character support
  • ✓ One-click copy
  • ✓ Local browser processing

Privacy

Files and text you enter are processed in your browser and are not uploaded to our servers. Our server records only an anonymous count that the tool was used — never your file or input. Read our Privacy Policy.

Frequently asked questions

What is URL encoding?

URL encoding converts characters that cannot safely appear in a URL into percent-encoded representations, such as a space becoming %20.

What is URL decoding?

URL decoding converts percent-encoded characters back into their original representation.

Does this tool upload my URL?

No. URL encoding and decoding happen locally in your browser.

Should I encode a whole URL or just a parameter?

Use this tool for a parameter value or path segment. Encoding a complete URL also encodes : / ? and &, which breaks the address until it is decoded again.

Does it convert + back to a space?

No. A + stays a +. Only form-encoded data uses + for spaces, and this tool applies standard percent-encoding.

Why do I get an error when decoding?

The input likely contains a stray % or an incomplete percent triplet such as %E0%A4. Check the original string.