BBoltlyze

URL Encoder / Decoder

Free URL encoder and decoder: percent-encode text for query strings and decode URLs back to readable text. Instant, no sign-up, runs in your browser.

Tool inputs are processed on your device. Anonymous usage events are recorded separately.

The result appears here instantly as you type.

How to use it

  1. 1

    Choose encode or decode

    Encode treats the entire input as one URL component, and decode turns percent escapes back into text. Enter a parameter value rather than a complete URL when you need to preserve its separators.

  2. 2

    Paste your text

    The result appears instantly. Encoding uses the component-safe unreserved set A–Z, a–z, 0–9, hyphen, underscore, period and tilde; spaces become %20. Decoding also treats + as a space, as in form-encoded values.

Percent-encoding represents characters that need to travel inside a URL component. This tool treats the entire input as one component: it leaves letters, digits, hyphen, underscore, period and tilde unchanged, and escapes reserved punctuation, spaces and non-ASCII UTF-8 bytes. For example, the query value “red & blue” becomes “red%20%26%20blue”.

Encode the value, then let your URL builder add the structural separators. Do not paste a full URL expecting its scheme, slashes, question mark and ampersands to remain unchanged; those characters are encoded as data by this component encoder. On decode, percent escapes are restored and literal plus signs become spaces for form-value compatibility. If a plus sign is actual data, encode it first as %2B.

Malformed percent escapes or invalid UTF-8 cause a clear decode error. The tool runs in the browser and does not send the entered string to the AI gateway; usage events contain the tool ID, timing and success status rather than the input. See the Privacy Policy. For binary bytes rather than URL text, use a byte-aware tool; Base64 has a different purpose and is not encryption.

FAQ

What is the difference between encodeURI and encodeURIComponent?

This tool encodes a single component using encodeURIComponent plus escaping for !, apostrophe, parentheses and *. It does not preserve whole-URL separators such as : / ? # & =. Encode a query value before adding it to a URL.

Why do spaces sometimes become + and sometimes %20?

Percent-encoded URI components commonly represent spaces as %20. application/x-www-form-urlencoded form data commonly uses + instead. This tool encodes spaces as %20 and, on decode, replaces + with a space for form-value convenience.

Related tools