URL Encoder & Decoder
Percent-encode text into a safe, link-ready URL, or decode it back to readable text — instantly, in your browser, with nothing uploaded.
What Is a URL Encoder?
A URL encoder (also called a percent-encoder) converts plain text into a form that can safely be placed in a web address. Browsers and servers only allow a limited set of characters in a URL, so anything unsafe — spaces, &, ?, #, =, % and non-ASCII letters — must be escaped using percent-encoding, where each byte is written as a % followed by two hexadecimal digits.
This matters because raw spaces and symbols can break a link, return errors, or be misinterpreted by the server. URL encoding turns, for example, hello world & more into hello%20world%20%26%20more, a long, safe string that works everywhere.
A URL encoder is essential when building query strings, sharing links that contain search text, storing data in a URL parameter, or creating SEO-friendly and URL-safe links. The companion decoder reverses the process, turning an encoded link back into the readable text so you can see exactly what it says.
How to Use the URL Encoder
- Choose Encode or Decode from the Action dropdown.
- Paste your text or encoded URL into the Input box.
- Read the result in the Output box instantly.
- Click Copy result to grab it for your link or code.
Example
Encode the input hello world & more → hello%20world%20%26%20more.
Switch the action to Decode and paste hello%20world%20%26%20more → you get back hello world & more. Encoding and decoding are exact inverses.
Common Use Cases
- Building query strings and API parameters that contain spaces or symbols.
- Sharing a link with pre-filled search terms or readable text.
- Storing text in a redirect or tracking URL safely.
- Decoding a strange link to see what it really points to.
Pro Tips
- Encode the value only, not the whole URL — keep the scheme and slashes intact.
- Prefer encodeURIComponent-style encoding for values so reserved characters are handled correctly.
- Remember non-ASCII text gets UTF-8 encoded, so links stay valid across languages.
- Don't double-encode: an already-encoded string re-encoded becomes unreadable.
FAQ
What is URL encoding?
URL encoding (percent-encoding) replaces unsafe characters in a URL with a % sign followed by two hex digits, so spaces, symbols and non-ASCII text can be sent safely.
When do I need to URL encode?
Whenever you build a query string, put text into a link, or send data that may contain spaces, &, ?, #, or non-ASCII characters.
Is it private?
Yes — it runs entirely in your browser and nothing is uploaded.
Why encode spaces as %20?
Spaces are not allowed in a URL, so they are replaced with %20, which is the hexadecimal code for a space byte.
What is the difference between encode and decode?
Encode turns readable text into a URL-safe string; decode converts an encoded string back into readable text.
What does percent-encoding change?
It replaces reserved and unsafe characters — spaces, &, =, ?, #, %, and non-ASCII glyphs — with a %XX escape using UTF-8 encoding.
Should I encode the whole URL or just the value?
Encode only the value part you are inserting. Encoding an entire URL would also escape its structure, breaking it.
Does it handle non-ASCII text?
Yes — non-ASCII characters are converted to their UTF-8 percent-encoded form so links work internationally.
Will it decode an invalid string?
If the input is not valid encoding, the tool shows a message that it could not decode rather than producing garbage.
Is it free and unlimited?
Yes — free, unlimited and with no signup.
Related URL tools
Related searches
url encoder, url decoder, percent encoding, url encode online, url encode text, encode query string, url safe text, url encoder decoder, base64 url, decode url
Related searches
url encoder, url decoder, slug generator, url parser, query string parser, percent encoding, base64 url, seo friendly url, url tools online
Related tools
- HTML Entity EncoderFree HTML entity encoder and decoder. Convert text to safe HTML entities or back to plain text, instantly in y…
- Barcode GeneratorGenerate free Code 128, UPC-A, EAN-13 and Code 39 barcodes from any text. Download SVG or PNG instantly. Priva…
- UTM CleanerFree UTM cleaner. Paste a URL and strip utm_*, gclid, fbclid and other tracking parameters for a clean, sharea…
- Query String ParserFree query string parser. Paste a URL or query string to see every parameter in a clean table, with values dec…
- Base64 URL EncoderFree base64 URL encoder. Convert text into URL-safe base64 instantly in your browser — no padding, no + or / c…
