URL Encoder / Decoder

Encode special characters in URLs or decode percent-encoded strings.

URL / Text to Encode
Encoded Output

Common URL Encodings

Character Encoded Description
%20 Space
! %21 Exclamation mark
" %22 Double quote
# %23 Hash
% %25 Percent sign
& %26 Ampersand
' %27 Single quote
+ %2B Plus sign
/ %2F Forward slash
: %3A Colon
? %3F Question mark
@ %40 At sign
= %3D Equals sign

How to Use

  1. 1

    Choose mode: Encode URL (converts special chars to %) or Decode URL (reverses it).

  2. 2

    Paste your URL or text — output updates live as you type.

  3. 3

    Copy the result or use Swap to reverse the operation.

📖 Want to learn more?

Read our in-depth guide: tips, best practices, FAQs, and real-world examples.

  • encodeURIComponent() encodes all special chars except - _ . ! ~ * ' ( )
  • Space becomes %20 in strict encoding
  • Useful for building query strings and API parameters
Full Guide