URL encoder and decoder

Characters such as spaces, ampersands and non-Latin text cannot appear raw in a URL. Paste a URL or a query string to encode it safely, or decode one you have been handed to see what it actually says.

Encoding uses encodeURIComponent, which escapes everything reserved — the right choice for individual parameter values. Decoding is tolerant of malformed sequences and reports the position it failed at instead of throwing.

Runs entirely in this tab. Nothing you paste is uploaded, logged or stored — close the page and it is gone.

Questions about this tool

Should I encode a whole URL or just the parameter?

Just the parameter value. Encoding an entire URL also escapes the slashes, colons and question mark that give it structure, which usually breaks it.

Why is a space sometimes + and sometimes %20?

Both are valid in a query string: form submissions traditionally use +, while percent-encoding uses %20. In a path segment only %20 is correct.

Does it handle non-English text?

Yes. Chinese, Arabic, accented Latin and emoji are all encoded as UTF-8 byte sequences, which is what browsers and servers expect.

AI alternatives from the directory

Browse coding tools →

This utility handles the job by hand. These do it with a model — worth a look when the task outgrows copy and paste.

Codeium logo
Codeium
Coding
☆

Free AI autocomplete for every language

A fast, free completion and chat tool that plugs into 40+ editors with strong privacy options.

Claude Code logo
☆

Anthropic's terminal agent that edits whole repos

Claude Code runs in your shell, reads the repository, plans a change and applies multi-file edits with tests.

aiXcoder logo
aiXcoder
Coding
☆

Method-level code generation

Coding robot that turns natural language into methods and completes whole lines or blocks.