URL Encoder — URLs may only contain a limited set of characters. Spaces, ampersands, question marks, and non-ASCII characters must be percent-encoded — replaced with %XX sequences. This tool offers two modes: component mode encodes everything reserved (for a single query parameter value), while full-URL mode keeps structural characters like : / ? & = so an entire address stays readable.
Encoding runs locally in your browser. Nothing is uploaded.
Was URL Encoder useful?
What is url encoder?
URLs may only contain a limited set of characters. Spaces, ampersands, question marks, and non-ASCII characters must be percent-encoded — replaced with %XX sequences. This tool offers two modes: component mode encodes everything reserved (for a single query parameter value), while full-URL mode keeps structural characters like : / ? & = so an entire address stays readable.
It matches the behavior of encodeURIComponent and encodeURI in JavaScript, so results are identical to what your code produces.
How to use it
-
Pick a mode
Component for a parameter value; full URL for an entire address.
-
Paste your text
The encoded output updates as you type.
-
Copy the result
Use Copy to place the encoded string on your clipboard.
Examples
Query value
Reserved characters are encoded in component mode.
a b&c=d
Result: a%20b%26c%3Dd
Full URL
Structure is preserved; only unsafe characters are encoded.
https://example.com/search?q=café & more
Result: https://example.com/search?q=caf%C3%A9%20&%20more
Frequently asked questions
Related guides
How to Create an XML Sitemap (and Why You Need One)
A sitemap.xml file tells search engines which pages on your site exist. Learn what to include, what to leave out, how to write one by hand or generate one, and how to submit it to Google and Bing.
How to Encrypt a Message with a Password (in Your Browser)
A practical guide to password-based encryption: how AES-GCM with PBKDF2 actually works, why the wire format matters for future compatibility, the common foot-guns (weak passwords, no integrity check, ECB mode), and how to encrypt a message in your browser without trusting a remote service with the plaintext.
What Is a URL Slug and Why It Matters for SEO
A URL slug is the part of a web address that identifies a specific page. This guide covers what makes a good slug, what to avoid, and how the Uttir Slug Generator handles the most common edge cases.
Related tools
Last reviewed: 2026-09-18