ToolPick

URL encoder and decoder

Encode or decode URI components and break query strings into a table.

How it works

Component mode uses encodeURIComponent and decodeURIComponent. Full-URL mode encodes illegal characters while leaving scheme and delimiters intact where possible. Query breakdown splits on & and = without executing the URL.

Runs in your browser; nothing is uploaded.

FAQ

What is the difference between encodeURI and encodeURIComponent?

encodeURI is for whole URLs and preserves ?, /, and # in many cases. encodeURIComponent is for query values and encodes nearly every reserved character.

Why do spaces become %20?

That is the UTF-8 percent-encoding for space in URIs. Some HTML forms used + for space in queries; the Encode and Decode buttons do not treat + as space, while the query string breakdown table does.

Can I encode Unicode?

Yes. Encoding uses UTF-8 bytes before percent-encoding.

Related developer tools

Bookmark this page for next time, or copy its link. Shared links contain no working input.

Link to this tool: https://www.toolpick.dev/free-tools/url-encoder