Our Network


Coming Soon


Coming Later

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.

᠎᠎᠎          Tool Options

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.

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 except 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 try

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://onlinetools.com/ascii/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!
Convert ASCII to Binary

Quickly convert ASCII characters to binary numbers.

Convert Binary to ASCII

Quickly convert binary numbers to ASCII characters.

Convert ASCII to Octal

Quickly convert ASCII chars to octal values.

Convert Octal to ASCII

Quickly convert octal values to a ASCII chars.

Convert ASCII to Decimal

Quickly convert ASCII values to decimal numbers.

Convert Decimal to ASCII

Quickly convert decimal numbers to ASCII values.

Convert ASCII to Hexadecimal

Quickly convert ASCII symbols to hexadecimal values.

Convert Hexadecimal to ASCII

Quickly convert hexadecimal numbers to ASCII symbols.

Convert ASCII to Any Base

Quickly convert ASCII to arbitrary base numbers.

Convert Any Base to ASCII

Quickly convert numbers of arbitrary base to ASCII.

Draw an ASCII Table

Quickly draw a 7-bit or extended 8-bit ASCII table.

Generate ASCII Character Set

Quickly generate 7-bit or extended 8-bit ASCII symbols.

Generate Random ASCII

Quickly generate random ASCII characters.

Convert Text to ASCII Art

Quickly draw ASCII art from the given text input.

Convert ASCII to Image

Quickly create an image from ASCII text.

Convert ASCII to HTML Entities

Quickly convert ASCII text to HTML escape codes.

Convert HTML Entities to ASCII

Quickly convert HTML entities to ASCII text.

URL-encode ASCII

Quickly convert ASCII to URL-encoding.

URL-decode ASCII

Quickly convert URL-encoded ASCII back to ASCII.

Convert ASCII to Bytes

Quickly convert an ASCII string to raw bytes.

Convert Bytes to ASCII

Quickly convert raw bytes to an ASCII string.

Convert ASCII to UTF-8

Quickly convert ASCII bytes to UTF8 characters.

Convert UTF-8 to ASCII

Quickly convert UTF8 characters to ASCII bytes.

Convert ASCII to Morse Code

Quickly encode ASCII text to Morse code.

Convert Morse Code to ASCII

Quickly decode Morse code back to ASCII.

Convert ASCII to Base64

Quickly base64-encode ASCII string.

Convert Base64 to ASCII

Quickly base64-decode previously encoded ASCII string.

Convert ASCII to Data URI

Quickly convert ASCII to a Data URL.

Convert Data URI to ASCII

Quickly convert a Data URL to ASCII.

Convert ASCII to Lowercase

Quickly make all ASCII characters lowercase.

Convert ASCII to Uppercase

Quickly make all ASCII characters uppercase.

Randomize ASCII Case

Quickly randomize the case of each ASCII letter.

Flip ASCII Bits

Quickly flip one or more bits in every ASCII character.

Shuffle ASCII Bits

Quickly shuffle bits in every character of an ASCII string.

Convert ASCII to Unicode

Quickly convert ASCII data to Unicode symbols.

Convert Unicode to ASCII

Quickly convert Unicode symbols to ASCII data.

Validate ASCII

Quickly check if all input characters are ASCII.


Coming Soon

These ASCII tools are on the way!
ASCII Art Editor

Draw ASCII art in a neat browser-based editor.

ANSI Art Editor

Draw ANSI art in a neat browser-based editor.

Show NFO Files

Draw the contents of NFO files.

Convert ASCII to ANSI

Convert ASCII data to ANSI data.

Convert ANSI to ASCII

Convert ASCII data to ANSI data.

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 GIF

Create a GIF image (single frame) from ASCII art.

Convert GIF to ASCII

Create ASCII art from a GIF image.

Create an ASCII Animation

Create an animated GIF from multiple ASCII art frames.

Convert ASCII to Chemical Elements

Use chemical element names for ASCII values.

Convert ASCII to Scan Codes

Convert ASCII characters to scan codes.

Convert Scan Codes to ASCII

Convert scan codes to ASCII characters.

Convert ASCII to BCD

Convert ASCII code to BCD code.

Convert BCD to ASCII

Convert BCD code to ASCII code.

Convert ASCII to EBCDIC

Convert ASCII charset to EBCDIC charset.

Convert EBCDIC to ASCII

Convert EBCDIC charset to ASCII charset.

Convert ASCII to PETSCII

Convert ASCII data to PETSCII (CBM ASCII) data.

Convert PETSCII to ASCII

Convert PETSCII (CBM ASCII) text to ASCII text.

Convert ASCII to ATASCII

Convert ASCII data to ATASCII (ATARI ASCII) data.

Convert ATASCII to ASCII

Convert ATASCII (ATARI ASCII) data to ASCII data.

Rotate ASCII Characters

Rotate ASCII chars to the left or to the right.

Truncate ASCII Data

Make the input ASCII data shorter.

Slice ASCII Data

Extract a slice from ASCII data.

Clamp ASCII Data

Set upper and lower ASCII code bounds.

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 Sum

Calculate the sum of individual ASCII code points.

Find ASCII Difference

Calculate the difference of individual ASCII code points.

Find ASCII Length

Calculate the length of an ASCII string.

Create a Table

Draw a table using ASCII characters as border elements.

Draw ASCII Tree

Draw a folder structure or a binary graph.

Draw ASCII Waves

Generate digital waveforms with ASCII characters.

Draw PETSCII Table

Draw a PETSCII (CBM ASCII) character set table.

Draw ATASCII Table

Draw an ATASCII (ATARI ASCII) character set table.

Draw an ASCII Spiral

Make all ASCII symbols go in a spiral.

Draw an ASCII Art Smiley

Draw various ASCII art smiley faces.

Debug ASCII Data

Visualize ASCII data at the byte and bit level.

AND ASCII Characters

Apply the AND operation on ASCII data.

OR ASCII Characters

Apply the OR operation on ASCII data.

XOR ASCII Characters

Apply the XOR operation on ASCII data.

NOT ASCII Characters

Apply the NOT operation on ASCII data.

Create ASCII from Regex

Generate ASCII data that matches the given regex.

Create Regex from ASCII

Generate a minimal regex that matches the given ASCII data.

Generate Fake ASCII

Use similar-looking Unicode characters for ASCII chars.

Add Errors to ASCII

Simulate data damage and add errors to ASCII data.

Add Typos to ASCII

Simulate keyboard typos and create errors in ASCII text.

Let Zalgo Damage ASCII

Unleash Zalgo on ASCII data.


Subscribe!

Subscribe to our updates. We'll let you know when we release new tools, features, and organize online workshops.

Enter your email here


Feedback. We'd love to hear from you! 👋