# Text to hex converter

## World's simplest hex tool

Free online text to hexadecimal converter. Just load your text and it will automatically get converted to hexadecimal numbers. There are no ads, popups or nonsense, just an awesome plain text to hex numbers converter. Load text, get hexadecimal. Created by developers for developers.

announcement
heads up!

We just launched a new site — Online IMAGE Tools — utilities for working with all image formats. Check it out!

*fullscreen*

*fullscreen_exit*

A link to this tool, including input, options and all chained tools.

Can't convert.

Text to hex converter tool
What is a text to hex converter?

This tool converts plain text to hexadecimal numbers. You can customize the output hex values. They can be prefixed with hex base prefix (0x), they can be padded to use two digits per hex value, and they can be spaced out for readability by adding a space between hex numbers. Hexabulous!

Text to hex converter examples
Click to use

Convert Plain Text to Hexadecimal Numbers

This example converts a paragraph of plain text to hexadecimal values. It applies output formatting so you get pairs of hex values.

In the 1940s, William Shockley coinvented the transistor while working at Bell Labs.
In 1956, Shockley left Bell Labs and founded his own company - Shockley Semiconductor Labs.
It was the first company to make transistors out of silicon and not germanium.
The company was founded in Mountain View, California.

49 6e 20 74 68 65 20 31 39 34 30 73 2c 20 57 69 6c 6c 69 61 6d 20 53 68 6f 63 6b 6c 65 79 20 63 6f 69 6e 76 65 6e 74 65 64 20 74 68 65 20 74 72 61 6e 73 69 73 74 6f 72 20 77 68 69 6c 65 20 77 6f 72 6b 69 6e 67 20 61 74 20 42 65 6c 6c 20 4c 61 62 73 2e 0a 49 6e 20 31 39 35 36 2c 20 53 68 6f 63 6b 6c 65 79 20 6c 65 66 74 20 42 65 6c 6c 20 4c 61 62 73 20 61 6e 64 20 66 6f 75 6e 64 65 64 20 68 69 73 20 6f 77 6e 20 63 6f 6d 70 61 6e 79 20 2d 20 53 68 6f 63 6b 6c 65 79 20 53 65 6d 69 63 6f 6e 64 75 63 74 6f 72 20 4c 61 62 73 2e 0a 49 74 20 77 61 73 20 74 68 65 20 66 69 72 73 74 20 63 6f 6d 70 61 6e 79 20 74 6f 20 6d 61 6b 65 20 74 72 61 6e 73 69 73 74 6f 72 73 20 6f 75 74 20 6f 66 20 73 69 6c 69 63 6f 6e 20 61 6e 64 20 6e 6f 74 20 67 65 72 6d 61 6e 69 75 6d 2e 0a 54 68 65 20 63 6f 6d 70 61 6e 79 20 77 61 73 20 66 6f 75 6e 64 65 64 20 69 6e 20 4d 6f 75 6e 74 61 69 6e 20 56 69 65 77 2c 20 43 61 6c 69 66 6f 72 6e 69 61 2e

**Required options**

Prepend 0x before all hex numbers.

Prepend 0 before single digit hex numbers.

Insert a space between hex numbers.

Convert Text to a Hex Number

This example converts text to one huge hex number.

In the 1970s, companies like Atari, Apple, and Oracle were all founded in Silicon Valley. The area became widely accepted center of the computer industry.

496e207468652031393730732c20636f6d70616e696573206c696b652041746172692c204170706c652c20616e64204f7261636c65207765726520616c6c20666f756e64656420696e2053696c69636f6e2056616c6c65792e20546865206172656120626563616d6520776964656c792061636365707465642063656e746572206f662074686520636f6d707574657220696e6475737472792e

**Required options**

Prepend 0x before all hex numbers.

Prepend 0 before single digit hex numbers.

Insert a space between hex numbers.

Pro tips
Master online hex 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://onlinehextools.com/convert-text-to-hex

__?input__=In%20the%201940s%2C%20William%20Shockley%20coinvented%20the%20transistor%20while%20working%20at%20Bell%20Labs.%0AIn%201956%2C%20Shockley%20left%20Bell%20Labs%20and%20founded%20his%20own%20company%20-%20Shockley%20Semiconductor%20Labs.%0AIt%20was%20the%20first%20company%20to%20make%20transistors%20out%20of%20silicon%20and%20not%20germanium.%0AThe%20company%20was%20founded%20in%20Mountain%20View%2C%20California.&prefix=false&padding=true&spacing=true
All hex tools

Quickly convert ASCII characters to hexadecimal numbers.

Quickly convert hexadecimal values to ASCII characters.

Quickly convert UTF8 characters to hexadecimal values.

Quickly convert hexadecimal values to UTF8 characters.

Quickly generate random hexadecimal values.

Quickly randomize the order of digits in a hex number.

Quickly rotate digits in a hex number to the left or to the right.

Quickly reverse the order of digits in a hex number.

Quickly create an image from a hexadecimal number.

Quickly convert hexadecimal numbers to Roman numerals.

Quickly convert Roman numerals to hexadecimal numbers.

Quickly convert hexadecimal numbers to decimal numbers.

Quickly convert decimal numbers to hexadecimal numbers.

Quickly convert hexadecimal numbers to octal numbers.

Quickly convert octal numbers to hexadecimal numbers.

Quickly convert hexadecimal values to binary values.

Quickly convert binary values to hexadecimal values.

Quickly convert a string to hexadecimal values.

Quickly convert hexadecimal values to a string.

Quickly convert an IP address to a hex IP address.

Quickly convert a hex IP address to a human-readable IP address.

Quickly convert hexadecimal colors to RGB colors.

Quickly convert decimal RGB colors to hexadecimal colors.

Quickly convert hexadecimal values to Gray code.

Quickly convert Gray code to hexadecimal values.

Quickly convert hexadecimals to binary coded decimals.

Quickly convert binary coded decimals to hexadecimals.

Quickly calculate the sum of a bunch of hex numbers.

Quickly calculate the product of a bunch of hex numbers.

Quickly convert plain text to hexadecimal values.

Quickly convert hexadecimal values to plain text.

Quickly calculate bitwise AND of a bunch of hex numbers.

Quickly calculate bitwise NAND of a bunch of hex numbers.

Quickly calculate bitwise OR of a bunch of hex numbers.

Quickly calculate bitwise XOR of a bunch of hex numbers.

Coming soon
These hex tools are on the way

Convert Hex to Arbitrary Base

Convert a hexadecimal to arbitrary base from 2 to 64.

Hex Editor

View and edit files in a browser-based hex editor.

Hexdump

Create a hex dump of files in your browser.

Create a File from Hex Values

Convert hexadecimal numbers to a file.

Convert a Hex Color to RGBA

Convert a color in hex #rrggbbaa format to RGBA format.

Convert an RGBA Color to Hex

Convert a color in rgba(r,g,b,a) format to #rrggbbaa hex format.

Convert a Hex Color to CMYK

Convert a color in hex #rrggbb format to CMYK format.

Convert a CMYK Color to Hex

Convert a color in CMYK format to #rrggbb format.

Convert Characters to Hex HTML Entities

Convert characters to hexadecimal #&x HTML entities.

Convert Hex HTML Entities to Characters

Convert HTML entities in #&x hex format back to characters.

NOR Hex Numbers

Calculate bitwise NOR of hexadecimal numbers.

XNOR Hex Numbers

Calculate bitwise XNOR of hexadecimal numbers.

Invert a Hex Number

Find bitwise inverse of a hexadecimal value.

Invert a Hex Color

Find the inverse hexadecimal color.

Swap Hex Endianness

Change endianness of a hex number.

Extract a Digit from a Hex Number

Extract n-th nybble from a hexadecimal number.

Convert IPv6 to Hex

Convert an IPv6 address to hexadecimal form.

Convert Hex to IPv6

Convert an IPv6 address in hexadecimal form back to human readable form.

Convert Little Endian Hex to Big Endian Hex

Convert a hex number in little endian byte order to big endian.

Convert Big Endian Hex to Little Endian Hex

Convert a hex number in big endian byte order to little endian.

Convert a Floating Point Number to Hex

Find the hex representation of a floating point number.

Subscribe!
Never miss an update

Cool!

Notifications
We'll let you know when we add this tool

Cool!