URL Encoder/Decoder

Encode and decode URLs for web development

URL Encoder/Decoder

Encode and decode URLs for web development

Characters: 0
Characters: 0 |

Common Examples:

URL Encoding Reference

Common Encodings:
Space → %20 or +
! → %21
# → %23
& → %26
= → %3D
Reserved Characters:
Reserved: : / ? # [ ] @ ! $ & ' ( ) * + , ; =
Unreserved: A-Z a-z 0-9 - _ . ~

Features

  • Bi-directional URL encoding/decoding
  • Component and full URL encoding
  • Real-time conversion
  • Common encoding examples

How to Use

  1. 1. Choose encode or decode mode
  2. 2. Enter or paste your URL/text
  3. 3. See the encoded/decoded result instantly
  4. 4. Copy the result or swap input/output

URL Encoder FAQs

What is the difference between component and full URL encoding?

Component encoding (the default) escapes reserved characters such as slashes, question marks, and ampersands, which is right for a query value or path segment. Uncheck the option to use full URL encoding, which keeps the structural characters of a complete URL intact.

When should spaces become plus signs instead of %20?

The plus form comes from the classic encoding of HTML form query strings. Check "Encode spaces as +" when your target system expects that convention, for example older form processors; %20 is the safer general-purpose choice.

Does it encode while I type?

Yes. Conversion runs on every keystroke and every option change, entirely in your browser, and the counters below each box show character counts plus how much larger or smaller the result is.

How does decoding handle malformed input?

Plus signs are first converted to spaces, then the text is decoded. If strict decoding fails, the tool retries a more lenient pass before showing an error, so partially encoded strings usually still come through.

What does the Swap button do?

It exchanges the input and output text and flips the mode at the same time, so you can instantly verify a round trip from plaintext to encoded value and back.