Hex (Base16) encoder & decoder

Hexator is a tool for text or binary to hex (base16) and vice-versa conversion

Encode a text to Hex (base16) by copy & paste

The text will be encoded to UTF8 and then converted to Hex. If you want a different encoding, upload rather a file with your own encoding, or any other binary file

Paste a text to encode:

How to use Hexator

  • Paste text on the homepage and press Encode to get a hex string
  • Or upload any file to encode its raw bytes
  • Need to go the other way? Use the Decode page
  • Copy or download the result when done — see the full help guide for all options

What is Base16 encoding?

Hexadecimal — or Base16 — is the standard way to represent binary data in a form people can actually read. Each byte becomes exactly two characters from a 16-symbol alphabet (0-9 and A-F), which is why you see hex everywhere: CSS color codes like #FF6600, MAC addresses, SHA hashes, and memory dumps in debuggers. The notation dates back to the IBM System/360 in the 1960s, and RFC 4648 formalized it in 2006 alongside Base32 and Base64. Read the full article on Base16 encoding for the history, worked examples, and a comparison with Base64.

Also check out our:

Check out our Apify actor for web scraping.

Powered by Trafilatura, a battle-tested Python library that accurately extracts main content from web pages while filtering out boilerplate like navigation, ads, and sidebars.

Ideal for building RAG pipelines, training datasets, or content analysis at scale.


Did you know? Apify offers a free tier — you get $5 to use monthly.


Apify also has a super generous Creator plan (though you can run only your own actors) that costs just $1/month (billed $6 semi-annually) and includes a one-time $500 platform credit for your first 6 months — with up to 32 GB RAM and 32 concurrent actor runs.