Convert Dogecoin Address to D-IBAN
How the Encoding Protocol Works
D-IBAN (Dogecoin IBAN) uses the same ISO 13616-1:2020 IBAN standard that banks worldwide use for international bank account numbers. This is the latest international standard (Edition 2, published 2020) that specifies the structure of IBANs for financial services. This ensures full compatibility and familiarity with the existing financial infrastructure.
The encoding process:
- Base58 to Bytes: Your Dogecoin address (Base58Check format) is first decoded into its raw byte representation (25 bytes)
- Base36 Encoding: The bytes are then encoded into Base36 format (0-9, A-Z) to create a 39-character payload that's compatible with IBAN's alphanumeric requirements
- IBAN Structure: The D-IBAN follows the standard IBAN format:
DO[CC][TT][BBBB...]where:- DO = Country code (Dogecoin)
- CC = 2-digit checksum (MOD-97-10 algorithm)
- TT = Address type code:
- 00 = P2PKH (Pay-to-Public-Key-Hash) - Standard addresses starting with 'D'
- 01 = P2SH (Pay-to-Script-Hash) - Multisig and script addresses starting with '9' or 'A'
- 02 = P2WPKH (Pay-to-Witness-Public-Key-Hash) - Bech32 addresses starting with 'doge1'
- 03 = P2SH-CLTV (Time-locked addresses) - Script addresses with CheckLockTimeVerify
- BBBB... = 39-character Base36 encoded payload
- Address Type Detection: The protocol automatically detects the address type from the address prefix:
- Addresses starting with 'D' → P2PKH (most common)
- Addresses starting with '9' or 'A' → P2SH (multisig, time-locked, etc.)
- Addresses starting with 'doge1' → P2WPKH (Bech32 witness addresses)
- MOD-97 Checksum: Uses the same MOD-97-10 algorithm used by banks worldwide to validate IBAN codes, ensuring data integrity and error detection
This protocol allows Dogecoin addresses to be represented in a standardized, internationally-recognized format that's easy to read, verify, and use in traditional banking systems and payment processors.
Supported Address Types:
- P2PKH (00): Standard single-signature addresses (most common)
- P2SH (01): Script-based addresses including multisig wallets, time-locked addresses (CLTV), and other advanced scripts
- P2WPKH (02): Segregated Witness addresses using Bech32 encoding
- P2SH-CLTV (03): Explicitly marked time-locked addresses with CheckLockTimeVerify scripts
ISO Standard Compliance: D-IBAN fully complies with ISO 13616-1:2020 (Financial services — International bank account number — Part 1: Structure of the IBAN), ensuring it meets the same rigorous standards used by financial institutions globally.
Verify D-IBAN
IBAN Verification Protocol
D-IBAN verification uses the exact same MOD-97-10 checksum algorithm that banks use worldwide to validate IBAN codes. This follows the ISO 13616-1:2020 international standard (Edition 2, published 2020) for bank account number validation, ensuring full compliance with current banking regulations and financial services requirements.
The verification process:
- Format Check: First validates the structure matches the IBAN pattern:
DO[0-9]{2}[0-9]{2}[A-Z0-9]{39} - Character Validation: Ensures all characters are valid (letters and numbers only, no special characters)
- MOD-97-10 Algorithm: The same algorithm banks use:
- Rearranges the IBAN by moving the first 4 characters (country code + checksum) to the end
- Converts letters to numbers (A=10, B=11, ..., Z=35) as per IBAN standard
- Performs MOD-97 calculation on the entire string
- Valid IBANs result in a remainder of 1
- Checksum Validation: The embedded checksum digits are recalculated and compared to ensure the code hasn't been corrupted or mistyped
This verification ensures that any D-IBAN code is mathematically valid and follows the same rigorous standards as traditional bank IBANs. It can detect single-digit errors, transpositions, and other common mistakes with 99.9% accuracy.
ISO Standard Compliance: The verification algorithm strictly adheres to ISO 13616-1:2020 specifications, ensuring compatibility with all banking systems and financial software that process IBAN codes.
Decode D-IBAN to Dogecoin Address
Decoding Protocol
Decoding reverses the encoding process to recover the original Dogecoin address. The protocol ensures lossless conversion - you can encode and decode indefinitely without losing any data.
The decoding process:
- Verification First: Before decoding, the D-IBAN is verified using the MOD-97-10 checksum to ensure it's valid and hasn't been corrupted
- Type Extraction: The address type code (TT) is extracted to determine how to decode the payload
- Payload Extraction: The 39-character Base36 payload is extracted from the D-IBAN (skipping the country code, checksum, and type fields)
- Base36 to Bytes: The Base36 string is converted back to its 25-byte binary representation
- Address Reconstruction: Based on the type code:
- P2PKH (00) & P2SH (01): Bytes are encoded into Base58Check format
- P2WPKH (02): Bytes are decoded from UTF-8 to recover the Bech32 address
- P2SH-CLTV (03): Bytes are encoded into Base58Check format (time-locked script addresses)
- Type Information: The decoded address includes its type information (P2PKH, P2SH, P2WPKH, etc.) for proper handling
This bidirectional conversion allows D-IBAN codes to be used in traditional banking systems, payment processors, and financial software while maintaining full compatibility with the Dogecoin blockchain. The protocol is reversible - any valid D-IBAN can be decoded back to its original Dogecoin address with 100% accuracy.
Use Cases: This enables Dogecoin addresses to be integrated into banking systems, accounting software, payment gateways, and other financial infrastructure that expects IBAN-format account numbers, while maintaining full blockchain compatibility.
ISO Standard Compliance: The decoding process maintains full compliance with ISO 13616-1:2020, ensuring that D-IBAN codes can be processed by any system that handles standard IBAN formats, including international banking networks and financial service providers.