onlineasciitools logo

Ascii url encoder

World's simplest ascii tool

A simple browser-based utility that URL-encodes ASCII characters. Just paste your ASCII text in the input area and you will instantly get percent-encoded ASCII in the output area. Fast, free, and without ads. Import ASCII – get URL-escaped ASCII. Created by computer nerds from team Browserling.
announcement a new project!
Super exciting news! We just launched MATHURLS – a fun math news reader. Check it out!
fullscreen fullscreen_exit
Method for URL-escaping
What URL-escaping shall we use?
Set custom characters here.
Custom Encoding Characters option will escape only the chars entered in the custom chars textarea.
Custom Non-encoding Characters option escape all but the chars entered in the custom chars textarea.
Whitespace Encoding
Skip newlines during encoding.
Skip tabs during encoding.
Skip spaces during encoding.
Percent-encoded Digit Case
Display hexadecimal values in lowercase.
Display hexadecimal values in uppercase.
Ascii url encoder tool What is a ascii url encoder?
This tool takes ASCII as input and applies URL-encoding on it. This encoding finds all special ASCII characters in the data and converts them into hex values with a percent sign. Therefore, URL-encoding is often called the percent coding. Depending on the set of special characters, there are several encoding methods. The encode-uri function encodes all ASCII characters except digits, uppercase Latin letters, lowercase Latin letters, and symbols "!#$&'()*+,-./:;=?@_~". The encode-uri-component method encodes all ASCII symbols execept digits, letters, and the following 9 symbols "!'()*-._~". The escape method also doesn't encode numbers, letters, and 7 more characters "*+-./@_". The alphanum-underscore method preserves numbers, letters, and the "_" character and escapes all other symbols. If none of these methods suit you, you can create your own method. To do this, you can select the option "Custom Encoding Characters" or option "Custom Non-encoding Characters", and enter the required ASCII characters in the field below. If the first option is selected, then the specified symbols will be encoded (and all others won't be). If the second option is selected, then the specified characters will not be encoded (and all others will be). We have also added a separate group of options to control whitespace symbols. Using these options in the second options group, you can skip encoding newlines, tabs, or spaces. The third group of options allows you to choose the letter case for hexadecimal values. For example, an asterisk character "*" can be escaped as "%2a" (lowercase hex) or "%2A" (uppercase hex). Asciiabulous!
Ascii url encoder examples Click to use
Hello World Example
In this example, we URL-encode an ASCII string that says hello world. We use the "Escape" encoding method that encodes spaces, exclamation and quote marks, all types of brackets (and 26 other ASCII characters that aren't used here). As they say, simple examples are the best examples.
"(Hello world!)"
%22%28Hello%20world%21%29%22
Required options
These options will be used automatically if you select this example.
What URL-escaping shall we use?
Skip newlines during encoding.
Skip tabs during encoding.
Skip spaces during encoding.
Display hexadecimal values in lowercase.
URL-Encode Newlines
This example loads ASCII data with three variables x, y, and z, and encodes them using the "AlphaNum_" function. This function escapes all symbols that are not alphanumeric or underscore. In the example variables x, y, and z are all alphanumeric, so they remain untouched. Only the newline characters are encoded into their lowercase hexadecimal representations "%0a".
x y z
x%0ay%0az
Required options
These options will be used automatically if you select this example.
What URL-escaping shall we use?
Skip newlines during encoding.
Skip tabs during encoding.
Skip spaces during encoding.
Display hexadecimal values in lowercase.
Percent-encode a URL
In this example, we percent-encode an FTP link that contains many special URL symbols. We apply the component encoding function on this link and convert the column character and all slashes to URL-escaped sequences with hex digits in uppercase format.
ftp://ftp.tucows.com/software/dreamweaver
ftp%3A%2F%2Fftp.tucows.com%2Fsoftware%2Fdreamweaver
Required options
These options will be used automatically if you select this example.
What URL-escaping shall we use?
Skip newlines during encoding.
Skip tabs during encoding.
Skip spaces during encoding.
Display hexadecimal values in uppercase.
Encode Everything Except Newlines
In this example, we have selected a two option combo. The first option encodes all ASCII characters and the second option "Do Not Encode Newlines" makes a slight exception to this rule and skips encoding \n symbols. This way each French word is percent-encoded and remains on its own line.
un deux trois
%75%6e %64%65%75%78 %74%72%6f%69%73
Required options
These options will be used automatically if you select this example.
What URL-escaping shall we use?
Skip newlines during encoding.
Skip tabs during encoding.
Skip spaces during encoding.
Display hexadecimal values in lowercase.
Custom Encoding Characters
In this example, we encode three ASCII strings that contain the charge data of elementary particles. We escape the strings via the "Custom Encoding Characters" option. In the textbox for custom characters, we enter digits from 0 to 3 and the dot character. In the output, only the entered symbols are escaped.
1. Electron: -1 e; 2. Proton: 1 e; 3. Neutron: 0 e;
%31%2e Electron: -%31 e; %32%2e Proton: %31 e; %33%2e Neutron: %30 e;
Required options
These options will be used automatically if you select this example.
What URL-escaping shall we use?
Set custom characters here.
Skip newlines during encoding.
Skip tabs during encoding.
Skip spaces during encoding.
Display hexadecimal values in lowercase.
Custom Non-encoding Characters
This example uses the "Custom Non-encoding Characters" option to escape data in a list of antonyms. In the text field for this option, we have specified the uppercase ASCII letters and the en dash symbol. What this means is that all characters except these will be escaped. Additionally, we have selected three whitespace preserving options that skip escaping newlines, tabs, and spaces, and selected another option that prints the hexadecimal percent codes in uppercase.
Young – Old Hard – Easy Happy – Wistful Wise – Foolish Fat – Slim Warm – Cool Early – Late Fast – Slow
Y%6F%75%6E%67 – O%6C%64 H%61%72%64 – E%61%73%79 H%61%70%70%79 – W%69%73%74%66%75%6C W%69%73%65 – F%6F%6F%6C%69%73%68 F%61%74 – S%6C%69%6D W%61%72%6D – C%6F%6F%6C E%61%72%6C%79 – L%61%74%65 F%61%73%74 – S%6C%6F%77
Required options
These options will be used automatically if you select this example.
What URL-escaping shall we use?
Set custom characters here.
Skip newlines during encoding.
Skip tabs during encoding.
Skip spaces during encoding.
Display hexadecimal values in uppercase.
Pro tips Master online ascii tools
You can pass input to this tool via ?input query argument and it will automatically compute output. Here's how to type it in your browser's address bar. Click to try!
https://onlineasciitools.com/url-encode-ascii?input=%22%28Hello%20world%21%29%22&method=escape&preserve-newlines=false&preserve-tabs=false&preserve-spaces=false&lowercase-hex=true
All ascii tools
Didn't find the tool you were looking for? Let us know what tool we are missing and we'll build it!
Quickly convert ASCII characters to binary numbers.
Quickly convert binary numbers to ASCII characters.
Quickly convert ASCII chars to octal values.
Quickly convert octal values to a ASCII chars.
Quickly convert ASCII values to decimal numbers.
Quickly convert decimal numbers to ASCII values.
Quickly convert ASCII symbols to hexadecimal values.
Quickly convert hexadecimal numbers to ASCII symbols.
Quickly convert ASCII to arbitrary base numbers.
Quickly convert numbers of arbitrary base to ASCII.
Quickly draw a 7-bit or extended 8-bit ASCII table.
Quickly generate 7-bit or extended 8-bit ASCII symbols.
Quickly generate random ASCII characters.
Quickly draw ASCII art from the given text input.
Quickly create an image from ASCII text.
Quickly convert ASCII text to HTML escape codes.
Quickly convert HTML entities to ASCII text.
Quickly convert ASCII to URL-encoding.
Quickly convert URL-encoded ASCII back to ASCII.
Quickly convert an ASCII string to raw bytes.
Quickly convert raw bytes to an ASCII string.
Quickly convert ASCII bytes to UTF8 characters.
Quickly convert UTF8 characters to ASCII bytes.
Quickly encode ASCII text to Morse code.
Quickly decode Morse code back to ASCII.
Quickly base64-encode ASCII string.
Quickly base64-decode previously encoded ASCII string.
Quickly convert ASCII to a Data URL.
Quickly convert a Data URL to ASCII.
Quickly make all ASCII characters lowercase.
Quickly make all ASCII characters uppercase.
Quickly randomize the case of each ASCII letter.
Quickly flip one or more bits in every ASCII character.
Quickly shuffle bits in every character of an ASCII string.
Quickly convert ASCII data to Unicode symbols.
Quickly convert Unicode symbols to ASCII data.
Coming soon These ascii tools are on the way
Convert ASCII to JPG
Create a JPG image from ASCII art.
Convert JPG to ASCII
Create ASCII art from a JPG image.
Convert ASCII to PNG
Create a PNG image from ASCII art.
Convert PNG to ASCII
Create ASCII art from a PNG image.
Convert ASCII to Chemical Elements
Use chemical element names for ASCII values.
Convert ASCII to EBCDIC
Convert ASCII charset to EBCDIC charset.
Convert EBCDIC to ASCII
Convert EBCDIC charset to ASCII charset.
Rotate ASCII Characters
Rotate ASCII chars to the left or to the right.
Randomize ASCII Order
Randomize the order of ASCII characters.
Reverse ASCII Characters
Reverse the order of ASCII chars.
Convert ASCII to Integer
Convert ASCII characters to integers.
Convert Integer to ASCII
Convert integers to ASCII values.
Convert ASCII to Keycodes
Convert ASCII characters to keyboard keycodes.
Convert Keycodes to ASCII
Convert keyboard keycodes to ASCII values.
Find ASCII Length
Calculate the length of an ASCII string.