Blob Notebook

URL encoder & decoder

Encode or decode a URL component or a whole URL. Handle percent escapes locally in your browser, then copy the result. Free, ad-free and no account needed.

Enable JavaScript to use this interactive tool. Paste input, choose options, then copy or download the result, or save it to your notebook.

Details and limits

Encode or decode a URL component or a whole URL. Whole-URL mode preserves reserved separators; component mode encodes them. Malformed escapes are errors.

Example and common questions

Encode a URL component

Direction
encode
URL scope
component
Input
notes & code
Encoded component
notes%20%26%20code
Component or whole URL?

Use component mode for an individual value such as a query parameter. Whole-URL mode preserves reserved separators used to structure a URL.

Does + become a space?

No. This tool uses URI encoding rules, not form-urlencoded decoding. A plus sign stays a plus sign when decoded; a percent-encoded space becomes a space.

Does decoding visit the URL?

No. Encoding and decoding transform the string locally. The tool does not open or fetch the URL.

Common errors and limitations

Malformed percent escapes or invalid encoded UTF-8 produce errors. Check that each percent escape is complete and choose the scope matching the text you are working with.