Search query
hello worldhello%20world
Percent-encode reserved characters so query strings, filenames, and API parameters survive transit through URLs intact.
URL Encode
Percent-encoding applied instantly as you type.
Query preview: ?q=
URL encoding happens locally in your browser.
%XX sequences.application/x-www-form-urlencoded form data.hello worldhello%20world
a=1&b=2a%3D1%26b%3D2
cafรฉcaf%C3%A9
name=John Smithname%3DJohn%20Smith
Hello ๐Hello%20%F0%9F%98%8A
My Folder/File.txtMy%20Folder%2FFile.txt
Characters like ?, &, =, /, and # may need encoding.
Usually become %20.
UTF-8 characters are encoded into byte sequences.
Letters and digits normally remain unchanged.
Encoding prevents broken URLs.
%20Standard URL encoding.
+Used mainly by HTML form encoding.
hello worldhello%20world
or
hello worldhello+world
%20 is preferred for most URLs.
?name=John Smith
/products/My Folder
#section
subject=Hello World
city=New York
utm_campaign=summer sale
hello worldhello%20world
summer salesummer%20sale
New YorkNew%20York
Hello TeamHello%20Team
Report 2026.pdfReport%202026.pdf
encodeURIComponent semantics.Unreserved ASCII letters and digits usually stay unchanged. Spaces, symbols, and non-ASCII characters are encoded.
%20 is the percent-encoded form of a space character in URLs. It is the standard encoding for spaces in query strings and path segments.
%20 is standard percent-encoding for spaces in most URLs. + is common in HTML form submissions (application/x-www-form-urlencoded). Enable the + option in this tool when you need form-style encoding.
Usually no. Encode individual parameter values or path segments โ not the full URL structure including https://, ?, or &.
Non-ASCII characters are converted to UTF-8 byte sequences, each shown as a %XX group. For example, รฉ becomes %C3%A9.
Yes. Emoji encode as UTF-8 byte sequences. For example, ๐ in Hello ๐ becomes %F0%9F%98%8A.
Use URL encoding when placing user-supplied text in query parameters, redirect URLs, mailto links, API calls, or filenames where reserved characters would break the URL.
No. URL encoding runs entirely in your browser โ nothing is sent to a server.
Yes. Use Download .txt to save the encoded string as a plain-text file.
URL encoding escapes reserved URL characters as %XX so text stays readable in links. Base64 converts data into a different alphabet for transport โ use each for its intended format.