About Hex Code Decoder

Hex Code Decoder is a set of browser-based tools and reference pages for hexadecimal, Base64 and related encodings. The pages explain how each conversion works, and the tools do it without sending your data anywhere.

What the site is

The site started from a simple observation: most online converters give an answer and nothing else. When the answer looks wrong there is no explanation, no mention of the character encoding that was assumed, and no way to see which byte caused a problem. These tools report errors with positions, show the bytes behind a result, and say which assumption they made. Each page also explains the format it works on, with examples that are produced by the same code the tool runs.

The pages cover hex decoding and encoding, number base conversion, hexadecimal arithmetic, Base64 encoding and decoding for text, images and PDFs, an auto decoder for unknown strings, and reference pages for the ASCII table, hexadecimal and Base64. The tools page lists all of them.

How the tools are tested

All conversions come from one library with automated tests. Base64 is checked against the test vectors in RFC 4648, with padding, URL-safe and missing-padding cases. The UTF-8 decoder follows the WHATWG Encoding Standard and is tested on overlong forms, surrogates, truncated sequences and four-byte characters. Number conversions are tested at the 8, 16, 32 and 64-bit limits, and the IEEE 754 routines against known bit patterns. An automated test checks that using a tool makes no network request with the input.

Values shown in tables and examples on the pages are computed by the library when the page is built, so an example cannot drift away from what the tool does. Code samples in other languages are written from the language documentation and run where the tools to run them were available.

How pages are written

Each page is written for its topic and does not follow a template. The sections come from the questions people ask about the topic and from what the common errors are. Facts that matter, such as standard numbers and byte values, are checked against the primary source: the RFC, the specification or the vendor documentation. Pages carry the date of their last substantive change, and the date is changed only when the content changes.

The site does not use invented statistics, ratings, testimonials or author profiles. Pages are published under the name of the site, and there is no individual author byline.

How the site is funded

The site shows advertising, placed away from the tool controls so that a click on a button is not a click on an ad. The ads do not affect the results or the content of the pages. The details of what advertising partners may collect are in the privacy policy and the cookie policy.

Corrections and contact

Errors are fixed as soon as they are confirmed. If a tool gives a wrong result or a page contains a mistake, the contact page helps you write a report with the input, the expected output and what the tool returned, which is what is needed to reproduce it. You can also write directly to [email protected].