What DecodePad handles today. Detection, decoding, validation and repair are covered by the automated tests of the open-source engine; previews are part of the page. ◐ means partly, explained in the note. Nothing on this page is planned work.
Encodings and containers
| Format | Detect | Decode | Validate | Repair | Preview |
|---|---|---|---|---|---|
| Base64 (RFC 4648 §4) Strict check against the standard; repair covers padding, stray characters, escapes and extraction from text. Every result is labelled Decoded, Repaired or Best guess. | ✓ | ✓ | ✓ | ✓ | — |
| Base64URL (RFC 4648 §5) Missing padding is valid here and is not counted as a repair. Mixed alphabets are accepted and reported. | ✓ | ✓ | ✓ | ✓ | — |
Data URI (data:…;base64,)Warns when the declared MIME type does not match the bytes. | ✓ | ✓ | ✓ | — | ✓ |
| JWT Header and claims shown, times converted. Signature check only for HMAC tokens (HS256, HS384, HS512) with a secret you enter; decoding alone does not verify a token. | ✓ | ✓ | ◐ | — | — |
| PEM (keys, certificates) The body between BEGIN and END is decoded; for a chain, the first block, with the block count. | ✓ | ✓ | — | — | — |
| Hex Decoded as Hex when it reads as text; otherwise offered as an alternative reading. | ✓ | ◐ | — | — | — |
URL encoding (%XX)Base64 that went through a URL is unescaped and then decoded. | ✓ | ✓ | — | — | — |
| HTTP Basic auth header | ✓ | ✓ | — | — | — |
MIME encoded words (=?UTF-8?B?…?=) | ✓ | ✓ | — | — | — |
| Base64 inside text (logs, YAML, JSON, Kubernetes Secrets) Each value is picked out and decoded on its own; the result is marked Best guess. | ✓ | ✓ | — | ✓ | — |
| One value per line Each line is decoded and checked separately. | ✓ | ✓ | ✓ | — | — |
| gzip, zlib, raw DEFLATE Peeled automatically, up to 64 MiB of output in total per decode. | ✓ | ✓ | — | — | — |
| Nested layers (Base64 or Hex inside Base64) Up to 10 layers; each layer can be inspected, copied or downloaded. | ✓ | ✓ | — | — | — |
Text charsets
Detected automatically, with the confidence shown (high, medium or low): UTF-8, UTF-16 (with or without a byte-order mark), GBK, Big5, Shift_JIS, EUC-KR, Windows-1251 and Windows-1252. You can also choose the charset yourself in Options. Short strings give little evidence, so the result there may be marked Best guess.
Files, identified from their content
| Kind | Formats | In the page |
|---|---|---|
| Images | PNG, JPEG, GIF, WebP, BMP, ICO, AVIF; SVG | Preview, download, save as PNG or WebP, copy as data URI |
| Documents | Preview, download | |
| Audio and video | MP3, WAV, OGG, FLAC, MP4, WebM | Player (formats your browser supports), download |
| Fonts | WOFF, WOFF2, TTF, OTF | Sample text, download |
| Archives | ZIP (including DOCX, XLSX, PPTX, JAR, EPUB), gzip, 7z, RAR, bzip2, xz | Identified, download with the right extension |
| Other binaries | WebAssembly, ELF, Windows EXE, Mach-O, Java class, SQLite, DER and more | Identified, file details, Hex view, download |
For every binary result the page shows the type, MIME type, exact size, first bytes and how it was identified. Unknown data gets a Hex view and an entropy estimate.
See also: what DecodePad cannot do and how it works.