Site is Under Maintenance
Please come back again in...
00 Days
00 Hours
00 Minutes
00 Seconds
We appreciate your reach out.Contact Us

Text to HEX

Text to HEX Converter

Drag and Drop text file here

or click to select a .txt file
Or type/paste text below:

Conversion Options

Character-by-CharacterConvert each character to its HEX value
Space SeparatedHEX values are separated by spaces
Include OriginalShow original characters with HEX results
Uppercase HEXDisplay HEX values in uppercase (A-F)
Add 0x PrefixPrefix HEX values with 0x
Line-by-Line ModeProcess each line separately

Note: This tool converts text characters to their hexadecimal (base-16) representation using ASCII/Unicode values.

About This Text to HEX Converter

This tool converts text characters to their hexadecimal representation by converting each character's Unicode code point to HEX. The conversion preserves the original text structure with options to control formatting and spacing.

How to Use This Tool

Step-by-Step Guide:
  1. Step 1: Input your text using either:
    • Drag and drop a .txt file
    • Click to browse and select a file
    • Type or paste text directly into the text box
  2. Step 2: Select your desired conversion options
  3. Step 3: Click "Convert to HEX" to process your text
  4. Step 4: Review your converted HEX values in the output box
  5. Step 5: Use the results by copying or downloading
Conversion Options Explained:
  • Character-by-Character: Converts each character to its HEX value
  • Space Separated: HEX values are separated by spaces
  • Include Original: Shows original characters with HEX results
  • Uppercase HEX: Displays HEX values in uppercase (A-F)
  • Add 0x Prefix: Prefixes HEX values with 0x
  • Line-by-Line Mode: Processes each line separately
Example Conversion:
Input: Hello
Output (default): 48 65 6C 6C 6F
Output (with original): H(48) e(65) l(6C) l(6C) o(6F)
Output (with prefix): 0x48 0x65 0x6C 0x6C 0x6F
Input (multiline):
Hello
World
Output (line-by-line):
48 65 6C 6C 6F
57 6F 72 6C 64
Cookie Consent
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.
Oops!
It seems there is something wrong with your internet connection. Please connect to the internet and start browsing again.
AdBlock Detected!
We have detected that you are using adblocking plugin in your browser.
The revenue we earn by the advertisements is used to manage this website, we request you to whitelist our website in your adblocking plugin.
Site is Blocked
Sorry! This site is not available in your country.