Data Conversion & GenerationLast updated: 2026-09-26

Hex & Text Converter

Convert Hex bytes and UTF-8 text in your browser. Inspect byte counts, Japanese characters and invalid UTF-8 without uploading data.

Open My tools

Conversion workspace

Input, keys and output stay in this page and are cleared on reload.

Examples and how it works

Hex represents each byte with two hexadecimal digits. This tool decodes those bytes as UTF-8 text and also converts text to Hex.

Hex → UTF-8

Input
48 65 6c 6c 6f
Output
Hello

UTF-8 → Hex (one character, three bytes)

Input
猫
Output
e7 8c ab

Enter Hex without 0x prefixes; ASCII spaces, newlines and tabs are accepted. Invalid UTF-8 still produces a Hex byte view. Shift_JIS is not detected automatically.

ShareXfB!L

How to use

  1. 1

    Choose a direction

    Select Hex → UTF-8 or UTF-8 → Hex.

  2. 2

    Enter text or Hex

    Enter Hex in byte pairs without 0x prefixes, then press Convert.

  3. 3

    Inspect text and bytes

    Check the output and byte count. If UTF-8 decoding fails, inspect the Hex output and warning.

Features

  • Convert between Hex and UTF-8
  • Byte counts and Hex output
  • Warnings for invalid UTF-8

Use cases

Learning data representations

Transform original samples to learn data representations.

Details

Input is limited to 1 MiB measured as UTF-8. Input and output are processed in this page, are not uploaded or saved, and disappear on reload.

FAQ

Is Hex encryption?

No. Hex represents byte values with hexadecimal digits. No key is needed to recover the bytes.

Can I include 0x prefixes and spaces?

Remove 0x prefixes. ASCII spaces, newlines and tabs are accepted as separators.

Why does UTF-8 decoding fail?

The bytes may use a different encoding, contain binary data or be incomplete. This tool does not automatically detect Shift_JIS or file formats.

All processing happens in your browser. Your files are never uploaded.

Did you know?

Two Hex digits represent one byte. The character 猫 is three bytes in UTF-8: e7 8c ab.

Optional usage measurement settings

Only with your consent, a random browser ID and tool/learning events are sent to measure return visits. This is pseudonymous measurement. Inputs, answers, keys, files and search terms are excluded. Consent expires after 90 days. Declining does not limit any feature.

Measurement is off.

Retention and privacy