All tools · 🔤 Encode / Decode

🔢 Hex ↔ ASCII / Text

Convert any text into its hex byte representation (each character becomes its UTF-8 byte sequence in hex), or paste a hex string to decode it back to text. Handles spaces, prefixes (0x), and case-insensitive input.

Loading tool…

Examples

Text → hex
InputHi!
Output48 69 21
Hex → text
Input4869
OutputHi
UTF-8 emoji
Input
Outpute2 98 95 (3 bytes)

Frequently asked questions

Why are some characters multiple bytes?

UTF-8 uses 1 byte for ASCII (0-127), 2-4 bytes for everything else. Emoji and CJK characters take 3-4 bytes each.

Hex vs Base64?

Hex doubles the byte count (each byte = 2 hex digits). Base64 grows ~33%. Hex is more readable; Base64 is more compact.

Why \x prefix?

A common notation in C-family languages for hex escape sequences. Same bytes, different syntax.

About this tool

Hex ↔ ASCII / Text runs entirely in your browser using standard Web APIs. No data is sent to any server. The source for this tool is in our public GitHub repository.

Related tools

← All 96 tools

Why this tool

vs typical free web-tool sites

1vwTypical free site
PriceFreeFree
Signup requiredNoOften (for premium features)
Ads inside the toolNoYes (banner + video)
Data sent to serverNo (browser-only)Yes (inputs analyzed for ads)
Total tools96Often <20 or scattered across sites
Bookmarkable URL per toolYesMixed
Loads in under 1sYes (static)Often slow (ad tracking)
MultilingualEN / ES / PT / FR / DEUsually EN only
Open sourceYesNo