ToolPad
Runs locally in your browser. Nothing you paste is sent to a server.

Text to Hex

Convert text into hex bytes (base-16). Outputs two-digit hex values separated by spaces. Runs locally in your browser.

Input

0 chars

Output

0 chars

Tip: You can verify in DevTools โ†’ Network that nothing is uploaded.

About this Text to Hex

Text to Hex converts each character into a hexadecimal byte representation. This is useful for debugging encodings, preparing test data, or inspecting byte values.

For simple ASCII text, output is straightforward (A โ†’ 41). For non-ASCII characters, output may reflect JavaScript code units rather than UTF-8 bytes.

Common uses
  • Process text data quickly without external tools
  • Transform content for development workflows
  • Clean and format text for analysis
Tips
  • Enable Auto to transform as you type
  • Upload text files directly from your device
  • Download the result when done

FAQ

Is my text uploaded to a server?

No. Everything runs locally in your browser. Nothing you paste is sent to a server.

Can I use this tool offline?

After the page loads once, it will typically keep working offline (unless you hard refresh with no cache).

Do you store my input?

No. Your input stays in your browser. Only optional preferences like theme or language may be stored.

What input formats are supported?

Any plain text. You can paste text directly into the input box.

How is the output formatted?

Each character becomes a hex value, typically two hex digits per byte, separated by spaces for readability.

Does this match UTF-8 bytes for emojis?

Not necessarily. Many implementations convert JavaScript code units. For true UTF-8 byte output, you would need UTF-8 encoding logic.

Can I convert the output back?

Yes. Use Hex to Text. ASCII text will round-trip cleanly in most cases.