URL Encoder / Decoder

Encode and decode URL components safely.

Runs locally in your browser
Output No signup · local processing

Your converted text appears here

Choose Encode or Decode, enter your text on the left, then click Convert. Unicode is handled correctly — all in your browser, with nothing sent to a server.

Runs entirely in your browser

Encode and decode URL components, locally

URLs can only safely carry a limited set of characters, so spaces, ampersands, question marks, and non-ASCII text must be percent-encoded — a space becomes %20 and “ü” becomes %C3%BC. This tool encodes text for use inside a query string or path segment using encodeURIComponent, and decodes encoded values back to readable text with decodeURIComponent. Flip the mode toggle to switch direction. Everything runs in your browser and nothing is uploaded to any server.

Common questions

How do I encode text for a URL?

Set the mode to Encode, type or paste your text, and click Convert. The tool uses encodeURIComponent, which escapes spaces, punctuation, and non-ASCII characters so the result is safe to drop into a query parameter or path segment.

How do I decode an encoded URL value?

Switch the mode to Decode and paste the percent-encoded string. The tool uses decodeURIComponent to turn sequences like %20 and %C3%BC back into the original characters.

What is the difference from encodeURI?

This tool uses encodeURIComponent, which is for encoding a single component such as a query value — it escapes characters like &, =, and ? that have special meaning in a URL. encodeURI leaves those intact because it is meant for a whole URL.

What happens if the input is not valid encoding?

When decoding, a malformed percent sequence like “%E0%A4” cannot be interpreted and the tool shows a clear error instead of producing broken output. Fix the input and convert again.

Is my text uploaded anywhere?

No. Encoding and decoding happen entirely in your browser tab using built-in browser functions. Your text never leaves your device and nothing is stored.