Free hex converter

Convert hex to text, text to binary, Base64 to hex, or any other pairing of the six formats. Everything is decoded in your browser, so the bytes you paste stay on your machine. A byte table shows the hex, decimal, binary, and character for every byte.

18 characters

Copied to clipboard

How the hex converter works

1

Pick the two formats

Choose what you are pasting in and what you want out. Text, hex, binary, decimal, ASCII codes, and Base64 all convert into each other, and the swap button flips the direction.

2

Your input becomes bytes

Whatever you paste is decoded into a raw byte array on your device, then written back out in the target format. One representation in the middle means every direction gives the same answer.

3

Format, read, copy

Set uppercase, the byte separator, and how many bytes per line. Read the byte table for the per-byte view, then copy the result or download it as a text file.

Private by design: nothing leaves your browser

The bytes you are decoding are usually from something real: a packet capture, a session cookie, a database blob, a firmware dump. Pasting that into a converter that posts to a backend hands it over. This one was built so that cannot happen:

01

100% client-side

Decoding is plain JavaScript running on the text in the box, using TextEncoder and TextDecoder for UTF-8. Converting fires no network request, which you can confirm in your browser's network tab.

02

Nothing stored or logged

There is no account and no history. Your input lives in the page's memory and is gone the moment you close the tab or reload.

03

Works offline

Once the page has loaded you can pull the network cable and it keeps converting. If a server were doing the work, it would stop.

Encoding is not encryption

  1. Hex, Base64, and binary only change how bytes are written down. Anyone can reverse them, so they hide nothing.
  2. A hex-encoded API key is still an API key. Treat encoded secrets as if they were in plain text.
  3. If the data has to stay unreadable to whoever holds it, encrypt it with a key. Our AES encryption tool does that in the browser too.

Built for developers and security-conscious teams

Anyone who has to look at raw bytes and would rather not paste them into a random website. BlockSurvey takes the same position on research data with zero-knowledge surveys, where responses are encrypted before they ever reach a server.

Developers

Read a hex dump from a log line, turn a byte array from a debugger back into the string it came from, or check what a Base64 field actually contains.

Security & reverse engineering

Pull readable strings out of a packet capture or a firmware blob during triage, without the bytes leaving the machine you are working on.

Students & embedded engineers

Watch a character become a byte, a decimal, and eight bits at once in the byte table. Changing one letter and seeing which bits move teaches it faster than a lookup chart.

Building something that handles sensitive data?

BlockSurvey runs on zero-knowledge surveys, so the responses you collect are never sold or mined. Responses are encrypted on the respondent's device, so the server stores nothing readable.

More free privacy tools

Browse all privacy tools

These tools run in your browser because that is how we build everything. The same idea, applied to research: privacy-first surveys with end-to-end encryption.

Frequently asked questions

Is this hex converter free?

Yes, completely free, with no sign-up and no limit on how often you use it. The only cap is a 200,000-character input, which keeps the page responsive.

Does anything I paste get sent to a server?

No. The conversion runs in your browser as JavaScript on the text in the box. No request carries your input anywhere, so there is nothing on our side to log or store. Open your network tab and watch: converting fires no request at all.

How do I convert hex to text?

Set the input format to Hex, paste the hex, and set the output format to Text (UTF-8). Spaces, colons, commas, 0x prefixes, and backslash-x escapes are all stripped before decoding, so you can paste hex in whatever shape your debugger produced it. The bytes are then read as UTF-8, which is what almost every modern system uses.

How do I convert text to binary?

Set the input format to Text (UTF-8) and the output format to Binary. Each byte becomes eight bits, so the ASCII letter A (byte 65) becomes 01000001. Non-ASCII characters take more than one byte in UTF-8, so a single emoji will produce four groups of eight bits, not one.

What is the difference between Decimal and ASCII codes?

Decimal shows every byte as a number from 0 to 255, while ASCII codes only covers 0 to 127. ASCII was defined as a 7-bit set, so byte 200 has no ASCII code at all. If your data contains bytes above 127, use Decimal; the converter will tell you which byte is out of range rather than quietly producing a wrong answer.

Is hex encoding the same as encryption?

No, and confusing the two is a costly mistake. Hex, Base64, and binary are encodings: they change how bytes are written down, not what they mean, and anyone can reverse them on a page like this one. If you need something to stay secret, encrypt it with a key.

Why does the byte table stop at 256 rows?

The table renders the first 256 bytes only, because building a row per byte for a large paste would make the page slow. The conversion itself is not capped: the output box always contains every byte you gave it. When the input is longer than 256 bytes, the table says so above the rows.

Can I use this offline?

Yes. Once the page has loaded you can disconnect from the internet and keep converting, because the whole tool runs in your browser.

Do you store what I paste in?

No. The conversion happens in your browser's memory with no network request behind it, so there is nothing to log or store. Whatever you paste is gone the moment you refresh or close the tab.

How is this different from a paid hex converter?

The conversion logic is the same everywhere; the difference is where it runs. Ad-heavy and paid converters often round-trip the input through a server. This one runs entirely client-side, so there is no account, no rate limit, and nothing of yours passes through a backend.
Scripts are blocked. This site won’t work properly. If you’re using Brave, click the Shields icon and turn off Block scripts. Otherwise disable your ad blocker for this site.