Convert data between HEX, ASCII, Binary, Decimal, and Base64.
Data conversion is the process of translating information losslessly from one encoding format to another. In payment systems and cryptography, this is a daily activity: an encryption key arrives as a Base64-encoded string from a vault, but the HSM expects HEX; a Track 2 dump from a card reader is in HEX but you need to compare it to an ASCII test fixture; an ISO 8583 message has binary fields you need to inspect in HEX. Without a fast, reliable converter, every debugging session becomes a tedious manual exercise that introduces transcription errors. This converter handles the five formats you actually encounter in payment work: HEX (the dominant format for cryptographic material, key blocks, and PIN blocks), ASCII (human-readable text for messages and labels), Binary (bit-level inspection for register flags, TVR, TSI), Decimal (counters, amounts, ATC values), and Base64 (key transport, JWT tokens, TLS certificate fragments). Every conversion preserves the underlying bytes exactly — what changes is only how they are rendered. This matters because cryptographic operations are byte-level: an XOR with the wrong encoding silently produces wrong output that may not fail loudly until much later in the transaction flow.