URL Encoder / Decoder

Encode text for use in URLs or decode URL-encoded strings. Handles special characters and spaces. All processing runs in your browser.

URL Encoder / Decoder tool

How to use

  1. Choose mode

    Switch between Encode (text → percent-encoded) and Decode (percent-encoded → text).

  2. Enter input

    Type or paste your text or encoded string.

  3. Copy result

    Use the Copy button to copy the encoded or decoded output.

Examples

  • Encode

    Spaces and symbols are encoded.

    Input
    hello world!
    Output
    hello%20world%21

Frequently asked questions

What encoding is used?
Standard percent-encoding (encodeURIComponent / decodeURIComponent) as used in URLs and query strings.
Why does decode fail?
Invalid percent-encoded sequences (e.g. %ZZ) or truncated input can cause decode errors.

You might find these useful too.