Our Network


Coming Soon


Coming Later

ascii to hexadecimal converter

world's simplest ascii tool

A simple browser-based utility that converts ASCII strings to hex numbers. Just paste your ASCII data in the input area and you will instantly get hexadecimal data in the output area. Fast, free, and without ads. Import ASCII – get hexadecimal. Created by computer nerds from team Browserling.

᠎᠎᠎          Tool Options

Hexadecimal Options

Prepend 0x to all hex numbers.
Pad single digit hex numbers with a 0.
Inserting extra spaces between hex.

What is a ascii to hexadecimal converter?

This tool takes plain-text ASCII data as input and converts it to hexadecimal base. Hex numbers can be prefixed with "0x" base prefix and they can be separated by a space for better readability and they can be padded with a zero so that each hex number has two nybbles.


Ascii to hexadecimal converter examples

Click to try!

Convert ASCII to Hexadecimal

In this example we convert plain ASCII characters to hexadecimal values. We also enable all three possible options for padding, prefixing and spacing output hex numbers.

Why do geeks always mix up Halloween and Christmas? Because Oct 31 is Dec 25.
0x57 0x68 0x79 0x20 0x64 0x6f 0x20 0x6e 0x65 0x72 0x64 0x73 0x20 0x61 0x6c 0x77 0x61 0x79 0x73 0x20 0x6d 0x69 0x78 0x20 0x75 0x70 0x20 0x48 0x61 0x6c 0x6c 0x6f 0x77 0x65 0x65 0x6e 0x20 0x61 0x6e 0x64 0x20 0x43 0x68 0x72 0x69 0x73 0x74 0x6d 0x61 0x73 0x3f 0x20 0x42 0x65 0x63 0x61 0x75 0x73 0x65 0x20 0x4f 0x63 0x74 0x20 0x33 0x31 0x20 0x69 0x73 0x20 0x44 0x65 0x63 0x20 0x32 0x35 0x2e
Required options
These options will be used automatically if you select this example.
Prepend 0x to all hex numbers.
Pad single digit hex numbers with a 0.
Inserting extra spaces between hex.

Create a Single Hex Number from ASCII

In this example we convert an ASCII string to a single, very large hexadecimal value.

Everything is a number.
45766572797468696e672069732061206e756d6265722e
Required options
These options will be used automatically if you select this example.
Prepend 0x to all hex numbers.
Pad single digit hex numbers with a 0.
Inserting extra spaces between hex.

Convert ASCII Art to Hex

In this example we convert ASCII art of a surprised moose to a hex number.

\|/ \|/ \ / \_/ ___ ___ o o-' ''' ' O -. |\ | |'''| | || | | || || " "
5c 7c 2f 20 20 20 20 5c 7c 2f 0a 20 20 5c 20 20 20 20 2f 0a 20 20 20 5c 5f 2f 20 20 5f 5f 5f 20 20 20 5f 5f 5f 0a 20 20 20 6f 20 6f 2d 27 20 20 20 27 27 27 20 20 20 27 0a 20 20 20 20 4f 20 2d 2e 20 20 20 20 20 20 20 20 20 7c 5c 0a 20 20 20 20 20 20 20 20 7c 20 7c 27 27 27 7c 20 7c 0a 20 20 20 20 20 20 20 20 20 7c 7c 20 20 20 7c 20 7c 0a 20 20 20 20 20 20 20 20 20 7c 7c 20 20 20 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 22 20 20 20 20 20 22
Required options
These options will be used automatically if you select this example.
Prepend 0x to all hex numbers.
Pad single digit hex numbers with a 0.
Inserting extra spaces between hex.

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/convert-ascii-to-hexadecimal?input=Why%20do%20geeks%20always%20mix%20up%20Halloween%20and%20Christmas%3F%20Because%20Oct%2031%20is%20Dec%2025.&prefix=true&padding=true&spacing=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.

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! 👋