Encode String to Hex (Base16)
This hex (base16) encode online tool helps you encode string to hex. You can input UTF-8, UTF-16 and others to hex.
Input
Output
Share Link
Settings
What is Hex (Base16) encoding?
Hex (Base16) is a binary-to-text encoding defined by RFC 4648. It represents bytes using the 16 characters 0-9 and A-F. Encoded data is about 100% larger than the original.
Common uses: displaying hashes, keys, binary dumps and color codes.
How to encode Hex (Base16) online
- Type or paste your text into the Input area.
- Adjust the character encoding or options in Settings if needed.
- Copy the result from the Output box.
Conversion runs locally in your browser. Your data is never uploaded.
Frequently asked questions
Is Hex (Base16) encryption?
No. Hex (Base16) is an encoding, not encryption. Anyone can decode it, so never use it to hide secrets.
Is this Hex (Base16) encoder free and private?
Yes. It is free, needs no account, and runs entirely in your browser.
Why is my Hex (Base16) output larger than the input?
Hex (Base16) uses fewer bits per character than raw bytes, so output grows by about 100%.