Developer

URL Encoder / Decoder

Encode text for safe use in URLs, decode %20-style strings back to text, and break a URL into its protocol, host, path and parameters.

βœ” FreeπŸ”’ Runs in your browserπŸ—“ Updated

How to use the URL Encoder / Decoder

  1. Choose Encode or Decode.
  2. Paste the text or URL.
  3. Tick Full URL mode to encode a whole address without breaking it.
  4. If the input is a URL, its parts and parameters are listed below.

Worked examples

CharacterEncoded
space%20
&%26
=%3D
?%3F
/%2F
€ (euro sign)%E2%82%AC

Frequently asked questions

What is the difference between encodeURI and encodeURIComponent?

encodeURIComponent encodes everything except letters, digits and - _ . ! ~ * ' ( ). encodeURI leaves URL structure characters such as : / ? & = # alone. Use component mode for values.

Why do I see + instead of %20?

HTML forms encode spaces as + in query strings. This decoder treats + as a space when decoding.

Do I need to encode Hindi or accented letters in URLs?

Browsers display it, but it is sent encoded as UTF-8 percent codes behind the scenes.

What causes "URI malformed" errors?

A % sign not followed by two valid hex digits. Fix or encode the stray % as %25.

How do I make SEO-friendly URLs?

Avoid encoding by using simple slugs. Try the Slug Generator tool.

Written and tested by MasterKit Online Editorial Team

Our team builds and tests every tool by hand, checks each formula against official sources (IRS, HMRC, the Income Tax Department of India, CBSE, NHS, WHO) and reviews pages whenever rules change. Last reviewed on . Spotted a mistake? Tell us.