• Skip to main content
  • Skip to primary sidebar

Technical Notes Of
Ehi Kioya

Technical Notes Of Ehi Kioya

  • About
  • Contact
MENUMENU
  • Blog Home
  • AWS, Azure, Cloud
  • Backend (Server-Side)
  • Frontend (Client-Side)
  • SharePoint
  • Tools & Resources
    • CM/IN Ruler
    • URL Decoder
    • Text Hasher
    • Word Count
    • IP Lookup
  • Linux & Servers
  • Zero Code Tech
  • WordPress
  • Musings
  • More
    Categories
    • Cloud
    • Server-Side
    • Front-End
    • SharePoint
    • Tools
    • Linux
    • Zero Code
    • WordPress
    • Musings
Home » Programming » Online URL Encoder And Decoder Tool

Online URL Encoder And Decoder Tool

By Ehi Kioya Leave a Comment

This page serves as an online URL encoder and decoder tool. It also explains the concept of URL encoding and decoding and acts as a handy reference for developers who often need to look up this stuff.

URL Encoding is used when placing text in a query string to avoid it being confused with the URL itself. For example, when a browser sends form data to a web server, it needs to be URL encoded. Such encoding is required for worldwide interoperability and uniformity. Read more about this below.

URL Encoder And Decoder

   

Disclaimer: This tool does not log, store or give out to third parties any of the decoded data, nor the visitors IP addresses or user agents.

The goal of this tool is to provide the most simple and instant URL encoding and decoding solution for even average users, without the need to make any decisions or configuration settings. Just paste your data and push the encode or decode button, that’s all 🙂

More About URL Encoding…

The term “URL encoding” isn’t exactly correct because the encoding process is not limited to URLs, but can be applied to URIs (Uniform Resource Identifiers) such as URNs (Uniform Resource Names) as well. A more correct term would be Percent-Encoding.

Since only about 60 characters are allowed in a URI, it is necessary to convert the large range of characters used worldwide into the few allowed characters. A two-step process is used for this conversion:

  • The character string is converted into a sequence of bytes using UTF-8 encoding
  • Each byte that is not an ASCII letter or digit is converted to %HH, (HH being the hexadecimal value of the byte)

Allowed Characters In A URI

According to RFC3986, characters in a URL must be taken from a set of unreserved and reserved ASCII characters (or the percent symbol used for percent-encoding). No other characters are allowed in a URL. Reserved characters sometimes have special meaning, while unreserved characters don’t. Using percent-encoding, characters which would not normally be allowed are represented using allowed characters.

You could choose to encode the unreserved characters, but they should not be encoded. The unreserved characters are:

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
0 1 2 3 4 5 6 7 8 9 – _ . ~

The reserved characters are:

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

They should be encoded under certain circumstances.
 
Offending characters are replaced by a percent symbol (%) and a two digit hexadecimal value that represents the character in the ISO character set. For example:

  • $ (Dollar Sign) is encoded as %24
  • & (Ampersand) is encoded as %26 and so on…

With URL encoding, it becomes possible to transmit characters with special meaning in a form which is parsed as pure data.

Found this article valuable? Want to show your appreciation? Here are some options:

  1. Spread the word! Use these buttons to share this link on your favorite social media sites.
  2. Help me share this on . . .

    • Facebook
    • Twitter
    • LinkedIn
    • Reddit
    • Tumblr
    • Pinterest
    • Pocket
    • Telegram
    • WhatsApp
    • Skype
  3. Sign up to join my audience and receive email notifications when I publish new content.
  4. Contribute by adding a comment using the comments section below.
  5. Follow me on Twitter, LinkedIn, and Facebook.

Related

Filed Under: Programming, Tools & Resources Tagged With: Decoder, Encoder, Programming

About Ehi Kioya

I am a Toronto-based Software Engineer. I run this website as part hobby and part business.

To share your thoughts or get help with any of my posts, please drop a comment at the appropriate link.

You can contact me using the form on this page. I'm also on Twitter, LinkedIn, and Facebook.

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

23,739
Followers
Follow
30,000
Connections
Connect
14,568
Page Fans
Like
  • Recently   Popular   Posts   &   Pages
  • Actual Size Online Ruler Actual Size Online Ruler
    I created this page to measure your screen resolution and produce an online ruler of actual size. It's powered with JavaScript and HTML5.
  • How To Change A SharePoint List Or Library URL How To Change A SharePoint List Or Library URL
    All versions of the SharePoint user interface provide an option to change the title (or display name) of a list or library. Changing SharePoint library URL (or internal name), however, is not exactly very intuitive. We will discuss the process in this article.
  • WordPress Password Hash Generator WordPress Password Hash Generator
    With this WordPress Password Hash Generator, you can convert a password to its hash, and then set a new password directly in the database.
  • About
  • Contact

© 2022   ·   Ehi Kioya   ·   All Rights Reserved
Privacy Policy