247888.XYZ

URL Encoder and Decoder

Encode a query value or path segment, or decode percent escapes to readable UTF-8 text. Choose how spaces and literal plus signs are handled.

Convert URL component

Result

Loading tool controls…

Convert URL component

  1. Choose the direction
    Example
    Encode

    Choose the direction

    Use Encode for original text. Use Decode when percent escapes are already present.

  2. Pick a space rule
    Example
    Spaces become +

    Pick a space rule

    Select Form value for an HTML form query. A literal plus then travels as %2B.

  3. Copy the component
    Example
    tea+%26+cake

    Copy the component

    Place the encoded value after the query parameter name, keeping the URL's own separators outside it.

Send a search phrase

In form mode spaces become plus signs, while the plus in the actual search phrase becomes %2B. Encoding the ampersand keeps it from starting another query parameter.

Send a search phrase
tea & cake + café
tea+%26+cake+%2B+caf%C3%A9
Send a search phrase

Read a literal plus

Decode in component mode to keep an existing plus. Switch to form mode and the same input reads ‘a b’. The source format determines the correct interpretation.

Turn a finished address into a scannable symbol with the QR code generator.

Read a literal plus
a+b in component mode
a+b
Read a literal plus

Recognize encoding mistakes

One value at a time

A complete URL includes structural characters such as slashes and question marks. Pass the value of one component when constructing a link.

A second encoding pass

A percent sign itself becomes %25. An already encoded space can become %2520 if you encode it twice. Decode once to inspect the intermediate text.

URL Encoder and Decoder reference
InputResult
tea & cake + cafétea+%26+cake+%2B+caf%C3%A9
a+b in component modea+b

Where are your records processed?

The browser handles all encoding in this tab. It does not request the address or query value you enter. Privacy policy.

  1. Choose the direction
  2. Pick a space rule
  3. Copy the component

URL Encoder and Decoder questions

Does the tool open pasted links?

It treats the input as text and returns a text result.

Why does %FF fail to decode?

Its byte value alone cannot start a valid UTF-8 character. Check the encoding at the source.

Can I keep line breaks?

Yes. Newline characters are encoded along with the other characters in the field.

Related tools