User Rating 0.0 โ˜…โ˜…โ˜…โ˜…โ˜…
Total Usage 0 times
0 chars
Is this tool helpful?

Your feedback helps us improve.

โ˜… โ˜… โ˜… โ˜… โ˜…

About

Base64 encoding inflates payload size by approximately 33% due to its 6-bit to 8-bit mapping ratio (3 source bytes become 4 ASCII characters). When your pipeline delivers TSV data wrapped in Base64 - common in email attachments (MIME), REST API responses with binary-safe transport, or database BLOB exports - a decoding error silently corrupts every downstream record. This tool performs real atob() decoding with proper UTF-8 reconstruction via TextDecoder, handles both standard (RFC 4648 ยง4) and URL-safe (RFC 4648 ยง5) alphabets, and validates structural integrity before output. It approximates correctness assuming well-formed Base64 input with valid padding. Malformed padding or truncated streams will produce explicit error diagnostics rather than silent garbage.

Tab-separated values use U+0009 (horizontal tab) as the field delimiter, which avoids the quoting complexity of CSV when fields contain commas. However, embedded tabs or newlines within fields will break column alignment. This converter renders a live preview table so you can visually verify column integrity before downloading. Pro tip: if your source system uses \t escape sequences literally (two characters) instead of actual tab bytes, the preview will reveal misalignment immediately.

base64 tsv converter decode tab-separated-values data-converter file-converter

Formulas

Base64 maps every group of 3 input bytes (24 bits) to 4 printable ASCII characters (6 bits each). The encoded length for n input bytes is:

Lencoded = 4 โ‹… โŒˆ n3 โŒ‰

Conversely, decoding recovers the original byte count:

ndecoded = 34 โ‹… Lencoded โˆ’ p

where Lencoded = length of the Base64 string (excluding whitespace), p = number of padding characters (0, 1, or 2), and โŒˆโŒ‰ denotes the ceiling function.

URL-safe Base64 substitution rules:

+ โ†’ - / โ†’ _

The converter detects URL-safe encoding by scanning for - or _ characters and normalizes them before calling atob().

Reference Data

Base64 CharacterDecimal ValueBinaryNotes
A - Z0 - 25000000 - 011001Uppercase Latin
a - z26 - 51011010 - 110011Lowercase Latin
0-952 - 61110100 - 111101Digits
+62111110Standard alphabet (RFC 4648 ยง4)
/63111111Standard alphabet (RFC 4648 ยง4)
-62111110URL-safe variant (RFC 4648 ยง5)
_63111111URL-safe variant (RFC 4648 ยง5)
= - - Padding character
Encoding Overhead
Size Ratio43 1.333ร— original size (33.3% overhead)
1 byte input4 Base64 chars (2 padding =)
2 bytes input4 Base64 chars (1 padding =)
3 bytes input4 Base64 chars (0 padding)
TSV Specifications
DelimiterU+0009 Horizontal Tab (HT)
Row SeparatorU+000A (LF) or U+000D U+000A (CRLF)
MIME Typetext/tab-separated-values
File Extension.tsv
EncodingUTF-8 (recommended), ASCII compatible
QuotingNot defined by spec (unlike CSV RFC 4180)
Max ColumnsNo formal limit; practical limit depends on consumer
IANA RegistrationRegistered as text/tab-separated-values
Common SourcesSpreadsheet exports, bioinformatics (BED, GFF), database dumps

Frequently Asked Questions

The tool auto-detects URL-safe Base64 by scanning for - and _ characters. It replaces - with + and _ with /, then restores any missing = padding before decoding. No manual toggle is needed.
Any text data can technically be treated as TSV. If no tab characters (U+0009) are found, the preview table will show a single column per row. The tool warns you when zero tabs are detected, since this usually indicates the Base64 payload contained plain text, CSV, or binary data rather than TSV.
This occurs when the decoded byte stream is not valid UTF-8. The tool uses TextDecoder with the fatal option disabled, which inserts the Unicode replacement character U+FFFD for invalid sequences. If you see these, the original data was likely encoded in a different charset (e.g., ISO-8859-1, Shift-JIS) or the Base64 wraps binary content (images, compressed archives) rather than text.
The tool enforces a soft limit of 50 MB of Base64 text (approximately 37.5 MB decoded). Beyond this, browser memory constraints may cause tab crashes. For very large files, the tool processes in chunks and shows a progress indicator. File upload is recommended over paste for inputs exceeding 1 MB.
Yes. MIME-encoded Base64 (RFC 2045) inserts line breaks every 76 characters. The tool strips all whitespace characters (\n, \r, \t, spaces) before decoding. This is standard behavior and matches how atob() should handle wrapped input.
The tool includes a delimiter override option. After decoding, you can switch the output delimiter from tab to comma, semicolon, or pipe. Note that switching to CSV does not add RFC 4180 quoting for fields containing commas. Verify your data does not contain the chosen delimiter character within field values.