URL Encoder & Decoder | Free Online Percent Encoding Tool

Encode and decode URL components, query strings, and text safely. 100% free, works in browser — no data sent to server.

Your data never leaves your browser

Online URL encoder and decoder tool

Plain URL / Text

Result

URL Percent-Encoding (RFC 3986) Guide

URL encoding (also known as percent-encoding) converts unsafe, non-ASCII, and reserved characters into a format that can be safely transmitted over the Internet within URI addresses and query parameters.

Common Percent-Encoded Characters

Space:      %20 (or + in form post)
! Exclamation: %21    # Hash:      %23
$ Dollar:      %24    & Ampersand: %26
' Single Quote:%27    ( Open Paren:%28
/ Slash:       %2F    : Colon:     %3A
= Equals:      %3D    ? Question:  %3F

encodeURI vs encodeURIComponent

encodeURIComponent() encodes all reserved characters (including &, =, /, ?), making it required for query parameter values. encodeURI() preserves protocol and path delimiters (://, /, ?, &) to encode a complete URL.

// Use for parameter values:
const url = '/search?q=' + encodeURIComponent('cats & dogs');

Unicode & Emoji Handling

Non-ASCII characters and emojis (such as 🚀 or multilingual alphabets) are encoded into multi-byte UTF-8 percent-sequences (e.g. 🚀 becomes %F0%9F%9A%80). Modern browsers parse these seamlessly.

100% Private Browser Decoding

Whether you need to decode obfuscated query parameters or encode an API endpoint payload, Converter360 processes all transformations client-side with native JavaScript.

Frequently Asked Questions

How do I encode a URL online for free?

Paste your URL, query string, or text into the encoder and the tool instantly applies percent-encoding using JavaScript's encodeURIComponent(). Special characters like spaces and & are converted to their %xx equivalents.

What is the difference between URL encoding and HTML encoding?

URL encoding (percent encoding) converts characters into %XX sequences for safe transmission in URLs, while HTML encoding converts characters to HTML entities for safe rendering in web pages. They serve different purposes.

Which characters are encoded in a URL?

encodeURIComponent encodes everything except A–Z, a–z, 0–9, -, _, ., !, ~, *, ', (, ). This includes spaces (%20), &, =, ?, /, :, @, and non-ASCII unicode characters.

Can I decode a percent-encoded URL online?

Yes. Switch to Decode mode in our URL Encoder tool and paste your percent-encoded string. The tool will use decodeURIComponent() to restore the original characters, all processed locally in your browser.