URL Encode / Decode Online | URL Encoder, Decoder & Percent-Encoding Tool

Encode and decode URLs online for query strings and redirects. Percent-encode reserved characters, decode %XX values, and handle + as space in your browser.

Uses encodeURIComponent-style percent-encoding for spaces and reserved URL characters.
All processing happens locally in your browser.

Common URL encodings

space -> %20& -> %26= -> %3D? -> %3F# -> %23

Input

0 chars

Output

0 chars

How to Encode or Decode URL Parameters and Percent-Encoded Text

01

Paste plain text, a query parameter value, a redirect URL, or a percent-encoded string into the input box.

02

Choose Encode to convert reserved characters into percent-encoding, or choose Decode to turn %XX sequences back into readable text.

03

Copy the encoded or decoded output for query strings, callback parameters, marketing links, logs, or API requests.

Key Features

Live URL encoding and decoding

See encoded or decoded output immediately while typing, so you can validate percent-encoding without an extra submit step.

Optimized for real developer and marketing workflows

Built for query parameter values, redirect URLs, callback links, and debugging percent-encoded strings in logs or API requests.

Private browser-based processing

Everything runs locally in your browser, which keeps URL values private and makes the tool fast on desktop and mobile.

URL Encode / Decode FAQ

What kind of URL encoding does this tool use?

This tool follows encodeURIComponent-style URL component encoding. It is best for query parameter values, redirect targets, callback URLs, and other URL parts where reserved characters must be treated as data.

Why does the decoder treat + as a space?

In query strings, + is often used as a space. During decoding, this tool converts + into a space before applying URL decoding so common form-style values decode correctly.

What is the difference between encodeURI and encodeURIComponent?

encodeURI is designed for full URLs and leaves structural characters like /, ?, and # intact. encodeURIComponent is designed for individual URL parts and encodes those reserved characters too. This tool uses encodeURIComponent-style behavior because it is safer for query values and redirect parameters.

Paste any text or URL string and this tool instantly percent-encodes or decodes it in your browser. Encoding converts reserved characters such as space, &, =, ?, and # into %XX escapes for safe query parameters and redirect URLs; decoding turns %XX sequences (and + as space) back into readable text. It uses encodeURIComponent-style behavior and runs entirely client-side.

How to Use the URL Encoder and Decoder

  1. 1

    Paste your text or URL

    Enter plain text, a query parameter value, a redirect URL, or a percent-encoded string into the input box.

  2. 2

    Choose Encode or Decode

    Select Encode to convert reserved characters into percent-encoding, or Decode to turn %XX sequences back into readable text.

  3. 3

    Review the live output

    The result updates instantly as you type, so you can validate percent-encoding without an extra submit step.

  4. 4

    Copy or download

    Use Copy to grab the result for query strings, callback parameters, marketing links, or API requests, or Download to save it.

References

Related Tools

URL Encode / Decode FAQ

What kind of URL encoding does this tool use?
This tool follows encodeURIComponent-style URL component encoding. It is best for query parameter values, redirect targets, callback URLs, and other URL parts where reserved characters must be treated as data.
Why does the decoder treat + as a space?
In query strings, + is often used as a space. During decoding, this tool converts + into a space before applying URL decoding so common form-style values decode correctly.
What is the difference between encodeURI and encodeURIComponent?
encodeURI is designed for full URLs and leaves structural characters like /, ?, and # intact. encodeURIComponent is designed for individual URL parts and encodes those reserved characters too. This tool uses encodeURIComponent-style behavior because it is safer for query values and redirect parameters.
Which characters get percent-encoded?
Reserved and unsafe characters are escaped, including space (%20), & (%26), = (%3D), ? (%3F), # (%23), and slashes. Unreserved characters (letters, digits, and - _ . ! ~ * ' ( )) are left unchanged.
Is my data sent to a server?
No. All encoding and decoding runs entirely in your browser, so your URLs and values never leave your device and the tool stays fast on desktop and mobile.