Mello
{} Developer

URL Encoder / Decoder

Encode or decode URL components and query strings.

Runs in your browserNo account requiredNo uploadFree
Loading tool…

About URL Encoder / Decoder

URL Encoder / Decoder applies and reverses percent-encoding — the %XX escape sequences that let any character ride safely inside a URL. Without it, spaces, ampersands, plus signs, and non-ASCII letters would either break the URL outright or be parsed as something they are not (an extra parameter, a separator, the wrong character).

Paste text or a URL fragment to encode, or a percent-encoded string to decode. Worked example: the search query 'Mello & friends' encodes to 'Mello%20%26%20friends' — the space becomes %20 and the ampersand becomes %26, so the rest of the URL is not read as the start of a new query parameter. Non-ASCII characters are encoded as their UTF-8 bytes; 'café' becomes 'caf%C3%A9'.

Two modes mirror the two JavaScript functions you would otherwise reach for. The default 'Component (encodeURIComponent)' mode escapes everything reserved in URLs, including / and ? and # — use it for query-string values, form fields, and anywhere a single value is dropped into a URL. 'Full URL (encodeURI)' is gentler, leaving structural characters like /, :, and ? alone so a whole URL stays intact. Get it wrong and a slash inside your value will be read as a path separator.

Encoding runs locally in your browser. Auth tokens and other sensitive values that you paste here are never logged or uploaded.

Frequently asked questions

encodeURIComponent escapes the URL structural characters (/ ? # & = +) and is the right choice for a single query-string value or form field. encodeURI leaves those alone and is for encoding a whole URL.

More developer tools

JSON Formatter & Validator
Paste JSON to format, validate, or minify — runs entirely in your browser.
{}Developer
Base64 Encoder / Decoder
Encode to Base64 or decode it back — handles UTF-8 correctly.
{}Developer
JSON ↔ CSV Converter
Convert between JSON and CSV — round-trip safe, runs locally.
{}Developer
Regex Tester
Build and test JavaScript regular expressions with live highlighting.
{}Developer
UUID / GUID Generator
Generate cryptographically random UUID v4 identifiers.
{}Developer
Number Base Converter
Convert a number between binary, octal, decimal, hex, and any base 2–36.
{}Developer