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

Free online URL encoder and decoder for query strings, redirect URLs, and percent-encoded text. 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.