Data & developer tools Web

URL Encoder

Encode text for query parameters or decode a URL component without sending your data anywhere.

Workspace

Convert URL components locally

Runs locally in your browser. Your text is not uploaded, saved, or included in sharing.
Mode
0 characters

Spaces, Unicode, and reserved characters are encoded safely.

Encoded URL component
Waiting for input
Your converted value will appear here.
Uses standard URL component encoding. Nothing leaves this browser.
Ready when you are.

Video guide · 18 seconds

Watch: encode and decode URL components

No sound. Each step is captioned on screen and also written out in the guide below.

A quick guide

Prepare a value in three steps

  1. 01
    Choose a mode

    Encode readable text or decode a percent-encoded value.

  2. 02
    Add your value

    Paste content into the input panel. Unicode is supported.

  3. 03
    Use the result

    Copy or download the converted value locally.

Example

Reserved characters become safe

hello world & café
hello%20world%20%26%20caf%C3%A9

URL component encoding keeps a value from being mistaken for URL syntax when placed in a query or path segment.

Good to know

Frequently asked questions

Does this encode a complete URL?

It encodes the full input as one URL component. Use it for query values or path segments; it does not parse a URL into separate parts.

What happens to plus signs?

Plus signs are encoded as %2B so they remain literal plus signs when decoded.

Why did decoding fail?

The input may contain an incomplete percent escape such as %2. Check that every percent sign is followed by two hexadecimal characters.