Penglab URL

URL Encode / Decode

Encode URL-safe values or decode percent-encoded strings directly in the browser.

Input

Output

Quick guide

What this tool does

Encode query values and URL fragments safely, or decode percent-encoded strings back into readable text in the browser.

How to use it

Type text or a URL fragment, then encode it for safe transport or decode percent-encoded content back into readable text.

When this tool is useful

Prepare query-string values before testing APIs, redirects, or webhook URLs. Decode copied URLs from logs or browsers to inspect readable parameter values. Fix broken links caused by spaces, unicode characters, or already-encoded fragments.

Common use cases

Prepare query-string values before testing

Prepare query-string values before testing APIs, redirects, or webhook URLs.

Decode copied URLs from logs

Decode copied URLs from logs or browsers to inspect readable parameter values.

Fix broken links caused by

Fix broken links caused by spaces, unicode characters, or already-encoded fragments.

Example input and output

Example input

hello world?tag=한글

Expected output

hello%20world%3Ftag%3D%ED%95%9C%EA%B8%80

FAQ

What kind of encoding does this tool use?

It uses standard percent-encoding through encodeURIComponent and decodeURIComponent behavior.

Can it decode malformed input?

Malformed percent-encoded strings return a decode error so you can spot bad input quickly.

Does URL Encode run in the browser?

Yes. URL Encode works in the browser so you can enter data, review the result, and copy the output without needing a separate desktop app.

Related tools

Feedback