Online tool to URL encode your data. Your data is safe, will not leave your browser.
URL encoder
URL Encoder is a simple and free online tool that quickly and easily encodes your data.
URL encoder escapes characters in a string so it is safe to be used in a url, for instance as a query parameter.
Percent encode
URL encoding is also known as "Percent encoding" because the encoded hexadecimal digits are preceded by a percent sign (%).
Spaces in URLs
URL should not contain space characters, but those should be encoded instead. URL encoded space character is %20
and as such it can be used in URLs.
Common usage of URL encoding
- When using invalid URL characters (
„ < > # % \ | ^ [ ] ` spaces
) for URLs - When using reserved URL characters (
! # $ % & ' ( ) * + , / : ; = ? @ [ ]
) for query parameters or path parameters
URL special characters
- Unsafe characters encoding
These characters should always be encoded because there is the possibility of being misunderstood within URLs for various reasons.newline space " % - . < > \ ^ _ ` { | } ~ %0A or %0D or %0D%0A %20 %22 %25 %2D %2E %3C %3E %5C %5E %5F %60 %7B %7C %7D %7E - Reserved characters encoding
These special characters must be encoded when not used in their special role inside a URL.! # $ % & ' ( ) * + , / : ; = ? @ [ ] %21 %23 %24 %25 %26 %27 %28 %29 %2A %2B %2C %2F %3A %3B %3D %3F %40 %5B %5D
URL encoded examples
This URL encode examples show how a sample text looks like before encoding and after encoding.
- Plain text:
Hello world!
URL encoded:Hello%20world%21
- Plain text:
https://devpal.co/url-encode/
URL encoded:https%3A%2F%2Fdevpal.co%2Furl-encode%2F
- Plain text - space:
URL encoded space:%20
- Plain text - plus sign:
+
URL encoded plus sign:%2B
- Plain text - slash:
/
URL encoded slash:%2F