URLencode online

 
 
 

Give our URLencode / URLdecode tool a try!

URLencode or URLdecode any string with just one mouse click.

URLencode / URLdecode, also known as Percent-encoding, is used to map information to a subset of ASCII characters. This subset contains all non-reserved characters in an URL. In URLs some ASCII characters are used for separation of URL segments or have a special meaning inside the document path (RFC3986). These characters are called reserved:

: / ? # [ ] @ : $ & ' ( ) * + , ; =

Non-reserved characters are:

a-z, A-Z, 0-9, - . _ ~

Every reserved characters has a representation prefixed with a percent. That's why URL-encoding is called percent-encoding also.

Reserved ASCII character URL-encoded representation
(space) %20
! %21
# %23
$ %24
& %26
' %27
( %28
) %29
* %2A
+ %2B
, %2C
/ %2F
: %3A
; %3B
= %3D
? %3F
@ %40
[ %5B
] %5D

Be aware that your browser will encode input, according to the character-set used by a website. In HTML5 the default character-set is UTF-8. Depending on the character-set the URL-encoded string may differ.

Examples of url-encoded data

Raw string https://de.wikipedia.org/wiki/URL Encoding
URL-encoded URL string https://de.wikipedia.org/wiki/URL%20Encoding

Support in programming languages

All major programming languages provide core functions or classes for URL-encoding.

PHP

Javascript

Java

Ruby

Perl

Python



xxfseo.com