TSV to Base64
Encode tab-separated values into a Base64 string for APIs, logs, config fields, or transport through systems that do not handle tabs and line breaks cleanly.
Last updated: May 29, 2026
Find this tool useful? Support the project to keep it free!
Buy me a coffeeWhat is TSV to Base64?
TSV to Base64 turns a tab-separated table into a text-safe encoded string. This is useful when tabular data must be embedded inside JSON, sent as a single field, stored in an environment variable, or copied through a system that may alter whitespace.
The tool keeps the workflow focused on TSV. It parses the pasted rows, reports row and column counts, and then encodes the original text to standard or URL-safe Base64. Base64 is reversible encoding, not encryption.
How to Use TSV to Base64
Paste TSV data into the input area
Enable URL-safe Base64 if the result will go into a URL, token, or filename
Click Encode TSV to Base64
Confirm the row and column stats
Copy or download the encoded output
Common Use Cases
- Encoding spreadsheet data before embedding it in a JSON payload.
- Preparing tabular fixture data for a single-line config value.
- Moving tab-separated exports through systems that strip tabs or line breaks.
- Creating a reversible text representation of small TSV snippets.
- Testing Base64 decoders with tabular UTF-8 input.
Example Input and Output
A two-column TSV snippet encoded as Base64 for safe transport in a text field.
name city
Alice LondonbmFtZQljaXR5CkFsaWNlCUxvbmRvbg==Size overhead
Base64 output is usually about one-third larger than the source TSV.
Frequently Asked Questions
Is Base64 encryption?
No. Base64 only changes representation. Anyone can decode the result back to the original TSV, so do not use it to hide sensitive data.
Does this change the TSV content before encoding?
No. The original text is encoded as provided. The row and column stats are shown for validation, but the content is not normalized or reformatted.
When should I enable URL-safe output?
Use URL-safe output when the encoded value will appear in URLs, filenames, JWT-like tokens, or systems where +, /, or = characters cause escaping issues.
Is my TSV uploaded?
No. Encoding runs entirely in your browser and the TSV stays on your device.
Related Tools
Base64 to TSV
Decode Base64-encoded tab-separated values into readable TSV with row, column, character, and byte stats.
Base64 Encoder/Decoder
Encode text to Base64 or decode Base64 to plain text — with URL-safe mode, auto-detect, and size stats.
Text to Base64
Encode plain text to Base64 instantly. Handles UTF-8, emojis, and international characters.
TSV to JSON Converter
Convert tab-separated values (TSV) to JSON. Auto-detects header row, infers numbers / booleans / null from string values, and emits a pretty-printed JSON array of objects.
TSV to CSV Converter
Convert tab-separated values (TSV) to comma-separated values (CSV) — pick the output delimiter, control quoting, and decode \t \n \r escape sequences.
TSV to HTML Table Converter
Convert tab-separated values (TSV) to an HTML table with header row, configurable CSS class, optional inline styles, and a live preview.

