URL Encode / Decode
Percent-encode text for URLs or decode %20-style links. Component, Full URL and Form data modes, line by line, with URL parts and editable parameters.
Percent-encode text for URLs or decode %20-style links. Component, Full URL and Form data modes, line by line, with URL parts and editable parameters.
About this tool
This URL encoder and decoder converts text to and from percent-encoding, the format URLs use for characters that are not allowed or have a special meaning in a web address. Choose Encode or Decode, then choose the mode. Component mode encodes everything except letters, digits and - _ . ! ~ * ' ( ). Use it for a single piece that goes inside a URL — a search term, a query-string value, a path segment or a redirect URL passed as a parameter — because it also encodes & = ? / # : and +, which would otherwise break the URL. So “chai & samosa” becomes “chai%20%26%20samosa”. Full URL mode is for a complete address: it keeps the characters that give a URL its structure (: / ? # & = and others) and encodes only what is not allowed, such as spaces and non-English letters, so “https://example.com/my page?q=café” becomes “https://example.com/my%20page?q=caf%C3%A9”. Form data mode works like Component but writes a space as +, as HTML forms do. Decoding works the same way in reverse, and “Decode until nothing is left” undoes text that was encoded more than once and tells you how many times. “Each line on its own” handles a whole list in one go, so one bad line does not spoil the rest. When you paste a complete URL, its scheme, host, path and query parameters are listed separately, with the values decoded; change, add or remove a parameter and the URL is rebuilt with the right encoding. Text is encoded as UTF-8, the standard for the web, so Hindi, emoji and symbols such as ₹ work: “₹” becomes “%E2%82%B9”. The result updates as you type, and Copy puts it on your clipboard. If the text you are decoding contains a broken sequence, such as a % sign not followed by two hex digits, the tool tells you at which character it is, instead of giving a wrong result. The tool runs in your browser using the same functions as JavaScript’s encodeURIComponent and encodeURI, so its output matches what your code produces. An option also encodes the characters ! ' ( ) and *, which some servers and signing methods such as OAuth expect. For form data or search URLs where + means a space, choose Form data.

Pick the direction.
Component for one value, Full URL for a link, Form data for +.
The result updates as you type.
Use it in your link, code or API call.
Component, Full URL and Form data.
Hindi, accented letters, emoji and ₹ are encoded correctly.
See and edit the query parameters of a link.
Shows which character is wrong.
Same output as encodeURIComponent and encodeURI.
Runs in your browser; nothing is logged or uploaded.
Links that do not break
Spaces and & in a value break a query string.
Example?q=chai%20%26%20samosa instead of ?q=chai & samosa.
The message text in wa.me links must be encoded.
Examplewa.me/919876543210?text=Hi%2C%20is%20this%20available%3F
A URL inside another URL must be encoded as a component.
Example/login?next=https%3A%2F%2Fexample.com%2Fcart
Tracking links and logs are full of %2F and %3D.
ExampleDecode a long marketing link to see where it really goes.
Query parameters in API requests must be encoded.
ExampleEncode a date range or filter before adding it to a curl command.
Hindi or accented words in links are sent as UTF-8 codes.
ExampleDecode %E0%A4%A8%E0%A4%AE%E0%A4%B8%E0%A5%8D%E0%A4%A4%E0%A5%87 to नमस्ते.
Pick the right mode
Encode each value on its own with Component, then join them with & and =. Encoding a whole URL as a component breaks its slashes.
If you see %2520, the text was encoded twice (%25 is the % sign). Tick “Decode until nothing is left”, then encode once.
Forms send spaces as +. Choose Form data to encode or decode them that way; the other modes treat + as a plus.
Base64 turns data into text; URL encoding makes text safe in a link.
Open Base64 EncoderFor codes such as amp and lt in HTML, use the HTML entity tool.
Open HTML Entity EncoderSenior Software Engineer · Developer of Toolyconvert
Hemant developed URL Encode / Decode and tests it on desktop and mobile with real files. He is a senior software engineer from Dehradun, India, building websites since 2014, and designed and developed Toolyconvert end to end.
Last updated 24 November 2026
Featured on
Toolyconvert is listed on these product directories and launch platforms.