Urlencode и urldecode online


URL encode and decode

This tool allows you to encode URL component and decode URL component.

User guide

Copy and paste, drag and drop a text file, browse a text file (Click on «Browse file» button) or directly type in the editors above, and it will be automatically converted, and editors will be updated with encoded / decoded data :

  • If you want encode URI component, fill the «Data to encode» editor above.
  • If you want decode URI component, fill the «Data to decode» editor above.

You can copy the result to the clipboard (click on «Copy to clipboard» button) or download it to a file (Click on «Download file» button).

Online URL encoding tool

This online tool allows you to easily and quickly encode and decode a url. It avoids having to write a few lines of code to get the result.

This tool uses the javascript functions encodeURIComponent and decodeURIComponent.

A Uniform Resource Locator (URL) is a reference to a web resource, it is a web address. Browsers request web pages by using an URL. It is specific type of Uniform Resource Identifier (URI).

A URL contains a protocol (http, ftp, . ), a hostname (extendsclass.com), and a file name (url-encode.html).

URLs reference web pages (example: https://extendsclass.com), but reference also file transfer (ftp), email (mailto), .

URL Encoding

URL encoding (Percent Encoding) is a mechanism for converting URLS into a format that can be transmitted over the Internet.

It converts the characters into a bytes using the UTF-8 encoding, and it replaces unsafe ASCII characters with a «%» character followed by two hexadecimal digits. The two hexadecimal digits represent the numeric value of the unsafe character.


There are reserved characters, with special meaning, and they must be encoded.
Sample: / is a reserved character, it is used for path component of a URI. / is converted to %2F.

Online URL Encode/Decode

To use prepostseo Online URL Encode/Decode, Paste Urls in the input box given below and click on Encode/Decode Button.

— Random Fact —

Sr.No. Result

urlencode online / urldecode online

Prepostseo url encode decode tool allow you to converter unlimited characters to ASCII code format. You can also encode strings and texts using this tool. Not all alphabets converted into

strong>100% Free:PrepostSEO url encode decode is 100% free to user, will unlimited checks.

Two in One:Count words & chars by uploading .DOC / .PDF /.TXT files directly from your PC or Mobile.

100% Secure:This is a two in one tool, you can urlencode online and urldecode online in same tool.

What is url escape?

As it known from its name suggest, url escape converts all those entities that are not supported by browsers into hex coding. All URL most be encoded uniformly. There two steps in which url escape online works.

In first step the all characters in the string separated using UTF-8 encoding.

Convert each character that are not ASCII letters into hexadecimal values.


Please check the table below to find out the backend key code against each charset.

All characters symbols that are encoded by this process is followed by a % sign. For example space will be converted into %20 or in modern browsers + could also be used. In the same way %3A and %2F are the encoded forms of : and /.

How online decoder works?

When comes to view different symbols it not not possible for us to read codes. For example we can easily understand @ because it’s a symbol. But what if you have to read %40 it is the same symbol but when we read it in the url we use this code.

Understanding of Encoding/Decoding Process

URL Encoding is an inclusive process of translating non-printable typescripts of a URL into an easily readable format that is so helpful for developers to comprehend URL structure. Decoding is the reverse of an Encoding process. It includes the adjustment of codes into plain text and clear uniform format that can be easily recognizable.

Please check Encoded form of char-sets

Character From Windows-1252 From UTF-8
space %20 %20
! %21 %21
« %22 %22
# %23 %23
$ %24 %24
% %25 %25
& %26 %26
%27 %27
( %28 %28
) %29 %29
* %2A %2A
+ %2B %2B
, %2C %2C
%2D %2D
. %2E %2E
/ %2F %2F
%30 %30
1 %31 %31
2 %32 %32
3 %33 %33
4 %34 %34
5 %35 %35
6 %36 %36
7 %37 %37
8 %38 %38
9 %39 %39
: %3A %3A
; %3B %3B
%3E %3E
? %3F %3F
@ %40 %40
A %41 %41
B %42 %42
C %43 %43
D %44 %44
E %45 %45
F %46 %46
G %47 %47
H %48 %48
I %49 %49
J %4A %4A
K %4B %4B
L %4C %4C
M %4D %4D
N %4E %4E
O %4F %4F
P %50 %50
Q %51 %51
R %52 %52
S %53 %53
T %54 %54
U %55 %55
V %56 %56
W %57 %57
X %58 %58
Y %59 %59
Z %5A %5A
[ %5B %5B
\ %5C %5C
] %5D %5D
^ %5E %5E
_ %5F %5F
` %60 %60
a %61 %61
b %62 %62
c %63 %63
d %64 %64
e %65 %65
f %66 %66
g %67 %67
h %68 %68
i %69 %69
j %6A %6A
k %6B %6B
l %6C %6C
m %6D %6D
n %6E %6E
o %6F %6F
p %70 %70
q %71 %71
r %72 %72
s %73 %73
t %74 %74
u %75 %75
v %76 %76
w %77 %77
x %78 %78
y %79 %79
z %7A %7A
< %7B %7B
| %7C %7C
> %7D %7D
%7E %7E
%7F %7F
` %80 %E2%82%AC
 %81 %81
%82 %E2%80%9A
ƒ %83 %C6%92
%84 %E2%80%9E
%85 %E2%80%A6
%86 %E2%80%A0
%87 %E2%80%A1
ˆ %88 %CB%86
%89 %E2%80%B0
Š %8A %C5%A0
%8B %E2%80%B9
Π%8C %C5%92
 %8D %C5%8D
Ž %8E %C5%BD
 %8F %8F
 %90 %C2%90
%91 %E2%80%98
%92 %E2%80%99
%93 %E2%80%9C
%94 %E2%80%9D
%95 %E2%80%A2
%96 %E2%80%93
%97 %E2%80%94
˜ %98 %CB%9C
%99 %E2%84
š %9A %C5%A1
%9B %E2%80
œ %9C %C5%93
 %9D %9D
ž %9E %C5%BE
Ÿ %9F %C5%B8
%A0 %C2%A0
¡ %A1 %C2%A1
¢ %A2 %C2%A2
£ %A3 %C2%A3
¤ %A4 %C2%A4
¥ %A5 %C2%A5
¦ %A6 %C2%A6
§ %A7 %C2%A7
¨ %A8 %C2%A8
© %A9 %C2%A9
ª %AA %C2%AA
« %AB %C2%AB
¬ %AC %C2%AC
­ %AD %C2%AD
® %AE %C2%AE
¯ %AF %C2%AF
° %B0 %C2%B0
± %B1 %C2%B1
² %B2 %C2%B2
³ %B3 %C2%B3
´ %B4 %C2%B4
µ %B5 %C2%B5
%B6 %C2%B6
· %B7 %C2%B7
¸ %B8 %C2%B8
¹ %B9 %C2%B9
º %BA %C2%BA
» %BB %C2%BB
¼ %BC %C2%BC
½ %BD %C2%BD
¾ %BE %C2%BE
¿ %BF %C2%BF
À %C0 %C3%80
Á %C1 %C3%81
 %C2 %C3%82
à %C3 %C3%83
Ä %C4 %C3%84
Å %C5 %C3%85
Æ %C6 %C3%86
Ç %C7 %C3%87
È %C8 %C3%88
É %C9 %C3%89
Ê %CA %C3%8A
Ë %CB %C3%8B
Ì %CC %C3%8C
Í %CD %C3%8D
Î %CE %C3%8E
Ï %CF %C3%8F
Ð %D0 %C3%90
Ñ %D1 %C3%91
Ò %D2 %C3%92
Ó %D3 %C3%93
Ô %D4 %C3%94
Õ %D5 %C3%95
Ö %D6 %C3%96
× %D7 %C3%97
Ø %D8 %C3%98
Ù %D9 %C3%99
Ú %DA %C3%9A
Û %DB %C3%9B
Ü %DC %C3%9C
Ý %DD %C3%9D
Þ %DE %C3%9E
ß %DF %C3%9F
à %E0 %C3%A0
á %E1 %C3%A1
â %E2 %C3%A2
ã %E3 %C3%A3
ä %E4 %C3%A4
å %E5 %C3%A5
æ %E6 %C3%A6
ç %E7 %C3%A7
è %E8 %C3%A8
é %E9 %C3%A9
ê %EA %C3%AA
ë %EB %C3%AB
ì %EC %C3%AC
í %ED %C3%AD
î %EE %C3%AE
ï %EF %C3%AF
ð %F0 %C3%B0
ñ %F1 %C3%B1
ò %F2 %C3%B2
ó %F3 %C3%B3
ô %F4 %C3%B4
õ %F5 %C3%B5
ö %F6 %C3%B6
÷ %F7 %C3%B7
ø %F8 %C3%B8
ù %F9 %C3%B9
ú %FA %C3%BA
û %FB %C3%BB
ü %FC %C3%BC
ý %FD %C3%BD
þ %FE %C3%BE
ÿ %FF %C3%BF

What Else We Offer?

Prepostseo is a leading platform in providing free SEO and website management tools. You can check more tools here:

Server Port Scanner: Scan your server ports online.

IP Location: Finds IP location with Host Name, Coutry, Region, City & Status.

Website Page Snooper: Allows you to go through any website of your competitor (view HTML code).


HTML Encoder Decoder: Encode & Decode HTML code for developers.

Domain IP Lookup: Allow you to know the exact IP location of domain.

DNS Records Checker: Checks DNS records of your domain.

Reverse NS Checker: It shows you all domain hosted on your DNS.

DNS Report: DNS report provides you the complete information about your Name servers.

DNS Propagation Checker: Checks DNS propagation after you changed your NS.

Class C IP Checker: It checks C class of IP.

Server Status Checker: Checks the status of your server in the whole easy way.

Different Locations Ping: Allows you to ping domain or IP around the world online.

Traceroute Domain: Shows paths between two networks node to node, also called hop.

Spider Simulator: Allows you to know the data that will be crawled by Search Engine’s spiders/bots.

URL encode: Online URL percent encoding and decoding

Percent-encoding, also known as URL encoding, is a mechanism for encoding information in a Uniform Resource Identifier (URI) under certain circumstances. It is often used in the submission of HTML form data in HTTP requests.

Cryptii


Web app offering modular conversion, encoding and encryption online. Translations are done in the browser without any server interaction. Built by Fränz Friederes and contributors. Code licensed MIT.

Urlencode и urldecode online

Percent-encoding, also known as URL encoding, is a mechanism for encoding information in a Uniform Resource Identifier (URI) under certain circumstances. Although it is known as URL encoding it is, in fact, used more generally within the main Uniform Resource Identifier (URI) set, which includes both Uniform Resource Locator (URL) and Uniform Resource Name (URN). As such, it is also used in the preparation of data of the application/x-www-form-urlencoded media type, as is often used in the submission of HTML form data in HTTP requests.

Types of URI characters

The characters allowed in a URI are either reserved or unreserved. Reserved characters are those characters that sometimes have special meaning. For example, forward slash characters are used to separate different parts of a URL. Unreserved characters have no such meanings. Using percent-encoding, reserved characters are represented using special character sequences. The sets of reserved and unreserved characters and the circumstances under which certain reserved characters have special meaning have changed slightly with each revision of specifications that govern URIs and URI schemes.

Reserved Characters
! * ( ) ; : @ & = + $ , / ? # [ ]
Unreserved Characters
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
a b c d e f g h i j k l m n o p q r s t u v w x y z
1 2 3 4 5 6 7 8 9 _ .

Percent-encoding reserved characters

When a character from the reserved set (a «reserved character») has special meaning (a «reserved purpose») in a certain context, and a URI scheme says that it is necessary to use that character for some other purpose, then the character must be percent-encoded. Percent-encoding a reserved character involves converting the character to its corresponding byte value in ASCII and then representing that value as a pair of hexadecimal digits. The digits, preceded by a percent sign «%» which is used as an escape character, are then used in the URI in place of the reserved character. (For a non-ASCII character, it is typically converted to its byte sequence in UTF-8, and then each byte value is represented as above.)

The reserved character «/», for example, if used in the «path» component of a URI, has the special meaning of being a delimiter between path segments. If, according to a given URI scheme, «/» needs to be in a path segment, then the three characters «%2F» or «%2f» must be used in the segment instead of a raw «/»

Reserved characters after percent-encoding
! # $ & ( ) * +
%21 %23 %24 %26 %27 %28 %29 %2A %2B
, / : ; = ? @ [ ]
%2C %2F %3A %3B %3D %3F %40 %5B %5D

Reserved characters that have no reserved purpose in a particular context may also be percent-encoded but are not semantically different from those that are not.

In the «query» component of a URI (the part after a ? character), for example, «/» is still considered a reserved character but it normally has no reserved purpose, unless a particular URI scheme says otherwise. The character does not need to be percent-encoded when it has no reserved purpose.

URIs that differ only by whether a reserved character is percent-encoded or appears literally are normally considered not equivalent unless it can be determined that the reserved characters in question have no reserved purpose. This determination is dependent upon the rules established for reserved characters by individual URI schemes.

ONLINE URL ENCODER/DECODER


Whether you want to encode a URL or decode it, our online URL encoder/decoder can help you with that. Enter the URL into the text box or upload the file, and click the relevant “Encode” or “Decode” button.

RESULTS


About Online URL Encoder/Decoder

Small SEO Tools bring you the smartest and fastest online URL Encoder/Decoder tool for free!

This online URL Encoder/Decoder tool is extremely helpful when adding special characters to a URL parameter which is also known often referred to as percent encoding. The process of URL encoding involves replacement of unallowable characters with a % (percent sign) and additional two hexadecimal values. While URL decoding works, if you want to know an email campaign or the newsletter’s source.


How to use this Online URL Encoder/Decoder?

The Small SEO Tools free online URL Encoder/Decoder tool works when you add a string of text on the space provided on this link https://smallseotools.com/online-url-encoder-decoder/. Then, all you have to do is to click on the “Encode” or “Decode” button, and it will show the results instantly.

This will come handy when you want to turn encoded JavaScript URL with a barely readable text to a more readable text. The URL normally contains a non-alpha numeric letter or character that will be encoded into “%” (percent symbol), followed by few alphanumeric texts. Then, the white spaces in a text will be encoded by “+” symbol.

URLs can only be carried over to the Internet using the ASCII character-set. Since these URLs comes with characters outside the ASCII set, the URL needs to be converted into a useable ASCII format. This URL encoding is used to replace unsafe ASCII characters with a percent sign (%) followed by two hexadecimal digits. URL encoding replaces a space with either a plus sign (+) or with %20.


What is URL Encoding and URL Decoding?

URL encoding is generally used in the query string or also known as the Uniform Resource Identifier (URI). Users only really want to use URL encoding on the special symbols. This free online URL Encoder/Decoder tool will do the job if you want to get your URL encoded or decoded.


What is the Use of URL Encoding?

The URL specification RFC 1738 states that only a small set of characters are allowed to be used in a URL. Those characters are listed below:

A to Z (ABCDEFGHIJKLMNOPQRSTUVWXYZ) – (Hyphen or Dash)
a to z (abcdefghijklmnopqrstuvwxyz) _ (Underscore)
0 to 9 (0123456789) . (Period)
$ (Dollar Sign) ! (Exclamation or Bang)
+ (Plus sign) * (Asterisk or Star)
( (Open Bracket) ‘ (Single Quote)
) (Closing Bracket)



How does URL Encoding work?

TOnline URL encoding or Percent-encoding, is a procedure for encoding specific information in a Uniform Resource Identifier (URI) in definite situations. Even though it is widely known as known as URL encoding, in general, it is used within the main Uniform Resource Identifier (URI) set, which contains both Uniform Resource Locator (URL) and Uniform Resource Name (URN).

This online URL encoding is also utilized in the preparation of data and the submission of HTML form data in HTTP requests.

All characters that needs to be changed are replaced by a percent sign (%) and a two-digit hexadecimal value that signifies the character in the appropriate ISO character set. Listed below are some examples:

$ (Dollar Sign) becomes %24 + (Plus) becomes %2B
& (Ampersand) becomes %26 , (Comma) becomes %2C
: (Colon) becomes %3A ; (Semi-Colon) becomes %3B
= (Equals) becomes %3D ? (Question Mark) becomes %3F
@ (Commercial A / At) becomes %40


What are the Types of URI characters?

The characters that are acceptable in a URI are either reserved or unreserved (or a percent sign as part of a percent-encoding). Reserved characters refer to characters that could have special meaning. A good example of this is a slash character which is commonly used to separate different parts of a URL. On the other hand, unreserved characters have no special meanings.

In using percent-encoding, the reserved characters are represented using a unique character arrangements. The sets of reserved and unreserved characters and the conditions under which certain reserved characters have special meaning have changed marginally with each modification of specifications that manage URIs and URI schemes.


How does Percent-encoding of unreserved characters work?

When a certain character from the reserved set has special meaning in a certain context, and a URI scheme says that it is important to use that specific character for a different purpose, then the character should be percent-encoded.

Doing percent-encoding of a reserved character usually involves converting the character to its corresponding byte value in ASCII and then representing that value as a pair of hexadecimal digits. The digits before a percent sign (%) are then used in the URI in place of the reserved character. And for the ones that are non-ASCII character, it is normally converted to its byte arrangement in UTF-8, and then each byte value is represented as mentioned above.

The reserved characters that have no reserved purpose in a specific context may also be percent-encoded but are not semantically different from the ones that are not. Let’s have this as an example: “/” is still considered a reserved character but usually it has no reserved purpose, unless a certain URI scheme says otherwise. This is the reason why a character does not need to be percent-encoded when it has no reserved purpose.


Characters from the unreserved set never need to be percent-encoded.

URIs that differ only by whether an unreserved character is percent-encoded or appears literally are equivalent by definition, but URI mainframes may not always distinguish this likeness. For maximum interoperability, URI creators are discouraged from percent-encoding unreserved characters.



Is Percent-encoding the percent character possible?

Since the percent character (%) already serves as the sign for percent-encoded octets, it must be percent-encoded as “%25” for that octet so the user can use as data within a URI.


What is Percent-encoding arbitrary data?

Many URI schemes involve the representation of arbitrary data, like an IP address or a chosen file system path, as components of a URI.

URI scheme specifications should provide a clear mapping among URI characters and all other possible data values that are being represented by those characters.

URL/URI Encode and Decode Tool

Online URL Encode and Decode Tool

URL Encode and Decode your text. Direct copy and save/download your URI decoded data to a file.

URL encoding converts characters into a format that can be transmitted over the Internet. URLs can only be sent over the Internet using the ASCII character-set. Since URLs often contain characters outside the ASCII set, the URL has to be converted into a valid ASCII format. URL encoding replaces unsafe ASCII characters with a «%» followed by two hexadecimal digits. URLs cannot contain spaces. URL encoding normally replaces a space with a plus (+) sign or with %20.

encodeURI and encodeURIComponent

decodeURI and decodeURIComponent

Use of URL encode/decode online tool

After you have converted text to your desired encode/decode, you can simply click on «Copy to Clipboard» or select all converted text and press «Control-C» to copy, and then «Control-V» to paste it back into your document.

Alternatively you can download converted text to text file simple click on the «Download Converted Text» button


You can upload data text file to URL encode or decode.

If you like this tool and helpful to your work, then please recommend it to you friends and family who would also find it useful. Share it to your favorite social media like facebook, twitter etc.

URL кодирование и декодирование строк

Для тех кто не любит нудных объяснений :)

Введите строку в одно из полей и нажмите соответствующую кнопку

Строка в закодированном виде

Строка в нормальном виде

Для тех кто любит «во всем разобраться» ;)

Кодирование URL и просто двоичных данных в последовательность букв, цифр и некоторых специальных знаков латинского алфавита в интернете было связано с ограничением физических устройств на передачу только алфавитно-цифровых символов. В URL такое кодирование обычно применяется для передачи символов в формате Unicode (как правило UTF-8) в последовательность из двух байт, записанных в шестнадцатиричном представлении. Каждый байт предваряется знаком %. При таком кодировании строчка «корова» будет иметь вид: %D0%BA%D0%BE%D1%80%D0%BE%D0%B2%D0%B0 . То есть русской букве к будет соответствовать последовательность %D0%BA и.т.д. Такое кодирование является общепринятым для путей к файлам или папкам, входящим в URL.

Подмножесто символов, которые разрешены в URL немного шире чем алфавитно-цифровые символы, так, в URL можно использовать дефис и подчеркивание, но нельзя, например, использовать одинарные или двойные кавычки. Некоторые символы используют для разделения параметров в URL, и их кодирование в этом случае будет неправомочным. В зависимости от отношения к кодированию специальных символов в javascript различают функции encodeURI и decodeURI, которые могут работать с полным URL, и, функции encodeURIComponent / decodeURIComponent, применяемые для параметров, входящих в URL.

Вообще говоря, кодирование параметров может быть достаточно произвольным. Здесь разработчик может использовать любую схему кодировки, если состав ее символов будет коректно передаваться через сеть. Так, вместо строки кириллицы в utf-8 можно применить строку в кодировке Windows 1251. В этом случае слово «корова» будет выглядеть как %EA%EE%F0%EE%E2%E0. То есть, символу к будет соответствовать последовательность из двух букв со знаком процента перед ними — %EA. Закодировать в строки с процентами кириллицу из других кодировок можно в нашем HTML кодировщике. В принципе, допустимы также другие способы кодирования, например, escape/unescape функцию javascript. Слово «корова» в этом случае будет выглядеть как %u043A%u043E%u0440%u043E%u0432%u0430 .

URL Encode / Decode

URL Encoder

URL Encode or Decode string using PHP functions


URL

Encoded URL

URL Decoder

Decodes url using PHP urldecode function

URL

Decoded URL

Percent-encoding, also known as URL encoding, is a mechanism for encoding information in a Uniform Resource Identifier (URI) under certain circumstances. Although it is known as URL encoding it is, in fact, used more generally within the main Uniform Resource Identifier (URI) set, which includes both Uniform Resource Locator (URL) and Uniform Resource Name (URN). As such it is also used in the preparation of data of the «application/x-www-form-urlencoded» media type, as is often used in the submission of HTML form data in HTTP requests.

Url encode decode online tool

  • To encode url/uri text enter it in Decoded textbox and encoded value will appear in other textbox.
  • To decode url/uri text enter it in Encoded textbox and the decoded value will appear in other textbox.

Some points to note:

  1. The javascript methods encodeURIComponent and decodeURIComponent are being used to encode and decode with special handling for space as mentioned below
  2. Space is being encoded as ‘+’ and Similarly + is being decoded as space
  3. encodeURIComponent escapes all characters except the following: alphabetic, decimal digits, — _ . !

* ‘ ( ). For reference see mozilla doc for encodeURIComponent

  • encodeURIComponent (and not encodeURI) should be used for user entered data which needs to be passed as part of URI
  • The Online Tool for
    Online People

    From Wiki
    Percent-encoding, also known as URL encoding, is a mechanism for encoding information in a Uniform Resource Identifier (URI) under certain circumstances. Although it is known as URL encoding it is, in fact, used more generally within the main Uniform Resource Identifier (URI) set, which includes both Uniform Resource Locator (URL) and Uniform Resource Name (URN). As such, it is also used in the preparation of data of the application/x-www-form-urlencoded media type, as is often used in the submission of HTML form data in HTTP requests.

    Илон Маск рекомендует:  Что такое код imagecreatefromstring
    Понравилась статья? Поделиться с друзьями:
    Кодинг, CSS и SQL