Skip to content
TheToolsBank logo
✦ Free ToolDeveloper

URL Encoder: Percent-Encode a URL or Query Value

By TheToolsBank Editorial TeamLast updated:

How to URL encode text

encodeURI vs encodeURIComponent: the three modes

Encoding a value for a query string

How spaces are encoded: %20 or +

Non-English characters and emoji (UTF-8)

Common Mistakes to Avoid

Encoding a URL that is already encoded

Solution:

Using full URL mode for a query value

Solution:

Encoding a whole link in component mode

Solution:

Using Form mode for a path

Solution:

Frequently Asked Questions