Hex (Base16) Encoder

Encode text to hexadecimal (Base16) or decode hex back to text — UTF-8 safe and fast.

Invalid hex input — please provide a valid hex string (even length).

Copied to clipboard!

Tip: When decoding, paste raw hex (no 0x, no spaces). You can include spaces — they will be ignored.

Introduction

This Hex (Base16) Encoder/Decoder converts text to hexadecimal and back. It uses UTF-8 encoding so extended characters (non-ASCII) are handled correctly.

What is Hex (Base16) Encoder?

Hex (Base16) represents binary data as human-readable hexadecimal digits (0-9, a-f). It's commonly used in programming, cryptography, and data encoding.

How to Use?

Conclusion

This tool is handy for developers and content creators who need quick, reliable hex encoding/decoding without leaving the browser.