- All tools
- URL encoder & parser
How do I URL-encode or decode text?
Type or paste text to percent-encode it for a URL — as a single query value, as a whole URL, or as form data where spaces become “+” — or switch to Decode to turn %E2%9C%93 back into ✓. Broken encodings are pointed out instead of silently failing. Below, paste any URL to see its parts and every query parameter, decoded.
- Choose Encode or Decode.
- Pick component, whole URL or form encoding.
- Copy the output — or paste a URL below to inspect it.
Break a URL into its parts
Query parameters
| Name | Value (decoded) |
|---|
What this page can do
- Encode and decode, updating as you type
- Component, whole-URL and form (+ for spaces) modes
- Full UTF-8: accents, Chinese, emoji
- Explains why a string cannot be decoded
- Decode double-encoded text in one step
- URL parser with a decoded query-parameter table
When to use this page
- Putting a search term, email address or redirect URL into a query string.
- Reading an encoded link from a log, email or analytics tool.
- Debugging a URL whose parameters are not arriving as expected.
When to use something else
- You need Base64 rather than percent-encoding — use the Base64 encoder.
- You need to escape text for HTML or JSON — those use different rules.
- You need to shorten a link — encoding makes URLs longer, not shorter.
How it compares with other options
Programming languages provide the same functions — encodeURIComponent in JavaScript, urllib.parse.quote in Python — and browsers encode addresses you type automatically. This page uses the browser’s own encoder and URL parser, so results match what browsers and servers that follow the WHATWG URL standard do. Component mode also escapes ! ' ( ) *, as RFC 3986 recommends.
Where your data goes
Nowhere. Everything is computed by your own browser. Nothing you paste is sent to a server, logged or stored — close the tab and it is gone. You can check it yourself: open your browser’s network panel — the page still loads its own code and any ads, but no request carries what you typed.
Questions about this tool
What is the difference between component and whole-URL encoding?
Component encoding escapes everything that has a meaning in URLs, including / ? & = and #, so the result is safe as one query value or path segment. Whole-URL encoding leaves those characters alone so a complete address stays usable, and escapes only spaces and characters that are not allowed.
Why do spaces sometimes become + and sometimes %20?
HTML forms submit data with spaces as “+” (application/x-www-form-urlencoded), while URLs in general use %20. Both are common in query strings. Use Form mode when you are building or reading form submissions.
What does “not valid UTF-8” mean when decoding?
Each non-English character is encoded as several %XX bytes. If some are missing or the text was encoded with an old single-byte charset such as Latin-1, the bytes do not form valid UTF-8 and cannot be decoded to text.
Why does a domain show as xn--…?
Domains with non-ASCII letters, such as münchen.de, are stored in an ASCII form called Punycode, which starts with xn--. Browsers show the readable form in the address bar, but the ASCII form is what is actually requested.