URL Encoder & Decoder Online

Encode special characters for safe URL usage or decode percent-encoded strings back to readable text.

How to Use

  1. 1

    Enter text or URL

    Paste text with special characters or an encoded URL.

  2. 2

    Encode or Decode

    Click Encode to percent-encode or Decode to convert back.

  3. 3

    Copy

    Copy the result.

FAQ

When do I need URL encoding?

URL encode when passing special characters in query parameters (&, =, ?, #, spaces), non-ASCII characters (Unicode), or when embedding URLs within other URLs.

What is the difference between encodeURI and encodeURIComponent?

encodeURI encodes a full URL (preserves :, /, ?, #). encodeURIComponent encodes a URL component (encodes everything except A-Z, 0-9, and -_.~). This tool uses encodeURIComponent behavior.