Skip to main content

Text ↔ hexadecimal

Encode UTF-8 text as hex bytes, or decode it.

0 characters1M limit
0 characters

About Text ↔ hexadecimal

Inspect the byte representation of text by converting it to hexadecimal. UTF-8 can use more than one byte per character, so one visible character is not necessarily one pair of hex digits.

Steps, example, and limitations

How to use it

  1. Choose text to hex or hex to text.
  2. Enter the source text or hexadecimal byte sequence.
  3. Run the conversion and copy the result.

Example

Input

Hi

Result

48 69

Things to know

  • Invalid hex or invalid UTF-8 is rejected rather than silently replaced.
  • Use the number-base converter for integers; this tool converts text bytes rather than interpreting the whole input as a number.

Navigation

Find a tool

Favorites, recent, and quick access

Image compressorReduce image file size with adjustable quality.
JSON formatterFormat, validate, and minify JSON data.
Merge PDFCombine multiple PDF files into one document.
Password generatorGenerate random passwords with configurable character sets.

Preferences

These preferences are saved only in this browser.

Tool input stays in memory and is cleared when you leave the page. Downloaded files are managed by your browser. AI model caches, when used, are separate from these preferences.