Convert TSV to FB2

Drag and drop files here or click to select.
Max file size 100mb.
Uploading progress:

TSV vs FB2 Format Comparison

Aspect TSV (Source Format) FB2 (Target Format)
Format Overview
TSV
Tab-Separated Values

Plain text format for storing tabular data where columns are separated by tab characters. Clipboard-native and widely used in bioinformatics, genomics, and data pipelines. Simpler than CSV because tabs rarely appear in data, eliminating quoting issues entirely.

Tabular Data Clipboard-Native
FB2
FictionBook 2

XML-based e-book format popular in Russia and Eastern Europe. Stores the entire book structure, metadata, and content in a single XML file. Supports tables, images (base64-encoded), footnotes, and rich metadata. Widely used by Russian e-reader devices and reading applications.

E-Book XML-Based
Technical Specifications
Structure: Rows separated by newlines, columns by tabs
Delimiter: Tab character (U+0009)
Encoding: UTF-8, ASCII, or UTF-16
Headers: Optional first row as column names
Extensions: .tsv, .tab
Structure: Single XML file with defined schema
Schema: FictionBook 2.0 XSD
Encoding: UTF-8
Images: Base64-encoded within XML
Extensions: .fb2, .fb2.zip
Syntax Examples

TSV uses tab-separated columns:

Name	Age	City
Alice	30	New York
Bob	25	London
Charlie	35	Tokyo

FB2 uses XML table elements:

<table>
  <tr>
    <th><p>Name</p></th>
    <th><p>Age</p></th>
  </tr>
  <tr>
    <td><p>Alice</p></td>
    <td><p>30</p></td>
  </tr>
</table>
Content Support
  • Tabular data with rows and columns
  • Text, numbers, and dates
  • No quoting needed (tabs rarely in data)
  • Direct clipboard paste support
  • Large datasets (millions of rows)
  • Bioinformatics standard (BED, GFF, VCF)
  • Structured body with sections
  • Tables with header and data rows
  • Rich metadata (author, genre, date)
  • Footnotes and comments
  • Base64-embedded images
  • Epigraphs, poems, and citations
  • Table of contents generation
Advantages
  • No quoting issues (tabs rarely appear in data)
  • Clipboard-native: paste directly from spreadsheets
  • Standard in bioinformatics and genomics
  • Simpler parsing than CSV
  • Human-readable in any text editor
  • Minimal overhead and tiny file size
  • Self-contained single XML file
  • Rich structured metadata
  • Popular in Russian-speaking regions
  • Easy to parse and transform with XML tools
  • Supports compression (.fb2.zip)
  • Well-defined XML schema
Disadvantages
  • No formatting or styling
  • No data types (everything is text)
  • Tab characters in data can break parsing
  • No multi-sheet support
  • No metadata or schema definition
  • Limited adoption outside Eastern Europe
  • No CSS styling support
  • Base64 images increase file size
  • Limited table formatting options
  • Not supported by major Western e-readers
Common Uses
  • Bioinformatics data exchange (BED, GFF)
  • Clipboard copy/paste between apps
  • Database exports and imports
  • Scientific data tables
  • Log file analysis and processing
  • Russian-language e-books
  • Digital library collections (Flibusta, Librusec)
  • E-reader content (PocketBook, ONYX BOOX)
  • Data reference documents
  • Structured document storage
  • Archival e-book format
Best For
  • Clipboard-based data transfer
  • Bioinformatics and genomics workflows
  • Simple tabular data without quoting hassles
  • Unix/Linux data processing pipelines
  • E-books for Russian e-reader devices
  • Structured XML document storage
  • Digital library archival
  • Eastern European publishing
Version History
Origin: Early Unix tools (cut, paste, awk)
IANA Registration: text/tab-separated-values
Status: Widely used, stable
MIME Type: text/tab-separated-values
Introduced: 2004 (Dmitry Gribov)
Current Version: FictionBook 2.0
Status: Stable, widely used in Russia
MIME Type: application/x-fictionbook+xml
Software Support
Spreadsheets: Excel, Google Sheets, LibreOffice
Text Editors: Any text editor (Notepad, VS Code)
Programming: Python (csv module), R, pandas
Other: Unix tools (cut, awk, sort), databases
E-Readers: PocketBook, ONYX BOOX (native)
Desktop: Calibre, FBReader, CoolReader
Mobile: FBReader, Moon+ Reader, AlReader
Editors: FB2Edit, Sigil (with plugins)

Why Convert TSV to FB2?

Converting TSV data to FB2 (FictionBook) format creates structured XML-based e-books with properly formatted tables that are compatible with popular Russian and Eastern European e-readers. FB2 is the dominant e-book format in Russia and CIS countries, supported natively by PocketBook and ONYX BOOX devices, as well as popular reading apps like FBReader, CoolReader, and AlReader.

TSV is the ideal source format for FB2 conversion because its tab-delimited structure maps cleanly to FB2's XML table elements. Unlike CSV, TSV avoids all quoting ambiguity -- tab characters almost never appear in real data, so parsing is straightforward and error-free. This is especially important when dealing with data that contains commas, semicolons, or quotes, which would require escaping in CSV format.

This conversion is particularly useful for creating portable data reference documents in FB2 format. Whether you have product catalogs, scientific data tables, vocabulary lists, or technical specifications, converting from TSV to FB2 lets you read them on your PocketBook or ONYX BOOX e-reader. The FB2 format also supports rich metadata, allowing you to add author information, categories, and descriptions.

Our converter creates well-structured FB2 files with proper XML schema compliance, table formatting with header rows, and metadata. The output files are compatible with all major FB2 readers and can also be converted to other e-book formats using Calibre. For compressed storage, FB2 files can be archived as .fb2.zip without losing any functionality.

Key Benefits of Converting TSV to FB2:

  • E-Reader Compatible: Native support on PocketBook, ONYX BOOX devices
  • XML Structure: Clean, well-formed XML with proper table markup
  • Rich Metadata: Author, title, genre, and description fields
  • Self-Contained: Single XML file with all content included
  • Clipboard-Friendly: Paste from spreadsheets and convert to FB2 e-book
  • No Quoting Issues: TSV's tab delimiter avoids CSV escaping problems
  • Compressible: Supports .fb2.zip for smaller file sizes

Practical Examples

Example 1: Vocabulary List

Input TSV file (vocabulary.tsv):

English	Russian	Part of Speech	Example
hello	privet	interjection	Hello, how are you?
book	kniga	noun	I am reading a book
to run	bezhat	verb	She runs every morning

Output FB2 file (vocabulary.fb2):

<FictionBook>
  <body>
    <section>
      <table>
        <tr>
          <th><p>English</p></th>
          <th><p>Russian</p></th>
          <th><p>Part of Speech</p></th>
          <th><p>Example</p></th>
        </tr>
        <tr>
          <td><p>hello</p></td>
          <td><p>privet</p></td>
          ...
        </tr>
      </table>
    </section>
  </body>
</FictionBook>

Example 2: Product Price List

Input TSV file (prices.tsv):

SKU	Product	Price (USD)	Weight	In Stock
A001	Wireless Mouse	29.99	120g	Yes
A002	USB Keyboard	49.99	450g	Yes
A003	Monitor Stand	79.99	2.1kg	No

Output FB2 file (prices.fb2):

A FictionBook with formatted table:

| SKU  | Product        | Price (USD) | Weight | In Stock |
|------|----------------|-------------|--------|----------|
| A001 | Wireless Mouse | 29.99       | 120g   | Yes      |
| A002 | USB Keyboard   | 49.99       | 450g   | Yes      |
| A003 | Monitor Stand  | 79.99       | 2.1kg  | No       |

Readable on PocketBook, ONYX BOOX, and FBReader.

Example 3: Train Schedule

Input TSV file (trains.tsv):

Train	Departure	Arrival	Duration	Platform
Express 101	08:00	11:30	3h 30m	5
Regional 205	09:15	14:00	4h 45m	3
Night 302	22:00	06:30	8h 30m	1

Output FB2 file (trains.fb2):

A portable FB2 schedule reference:

| Train        | Departure | Arrival | Duration | Platform |
|-------------|-----------|---------|----------|----------|
| Express 101 | 08:00     | 11:30   | 3h 30m   | 5        |
| Regional 205| 09:15     | 14:00   | 4h 45m   | 3        |
| Night 302   | 22:00     | 06:30   | 8h 30m   | 1        |

Perfect for offline reading on e-ink devices.

Frequently Asked Questions (FAQ)

Q: What is FB2 (FictionBook) format?

A: FB2 (FictionBook 2) is an XML-based e-book format developed in Russia. It stores the entire book -- content, structure, metadata, and even images (base64-encoded) -- in a single XML file. FB2 is extremely popular in Russia, Ukraine, and other CIS countries, supported natively by PocketBook and ONYX BOOX e-readers and reading apps like FBReader and CoolReader.

Q: Why is TSV preferred over CSV for data conversion?

A: TSV uses tab characters as delimiters, which almost never appear in real-world data. This eliminates the need for quoting rules that CSV requires. CSV data containing commas, quotes, or newlines needs complex escaping, which can lead to parsing errors. TSV provides cleaner, more reliable parsing, which is especially important when converting to structured formats like FB2 XML.

Q: Can I read FB2 files on a Kindle?

A: Amazon Kindle does not natively support FB2. To read FB2 on Kindle, you would need to convert it to MOBI or AZW3 format using Calibre. Alternatively, you can use our TSV to MOBI converter directly. FB2 works natively on PocketBook, ONYX BOOX, and through apps like FBReader on Android and iOS.

Q: Does FB2 support table formatting?

A: Yes! FB2 supports tables with header rows (th elements) and data rows (td elements). While FB2 table styling is more limited than HTML or DOCX (no cell colors or borders in the XML), most FB2 readers apply their own styling to tables. Our converter creates properly structured FB2 tables with header detection and correct XML markup.

Q: How is TSV the clipboard-native format?

A: When you copy cells from any spreadsheet application (Excel, Google Sheets, LibreOffice) and paste them into a text editor, the data is formatted as TSV -- columns separated by tab characters. This makes TSV the natural format for capturing data from the clipboard. You can paste data, save as .tsv, and convert to FB2 in seconds.

Q: Can I compress FB2 files?

A: Yes! FB2 files are commonly distributed as .fb2.zip archives, which significantly reduce file size since XML compresses very well. Most FB2 readers can open .fb2.zip files directly without manual extraction. After conversion, you can ZIP the FB2 file for more efficient storage and sharing.

Q: What metadata is included in the FB2 output?

A: The generated FB2 includes a description section with title information (derived from the filename), document info with creation date, and proper XML namespace declarations. You can edit the metadata (add author, genre, annotation) using FB2 editors like FB2Edit or through Calibre's metadata editing features.

Q: Is FB2 suitable for large data tables?

A: FB2 can handle tables of reasonable size, but since it uses XML, very large tables (thousands of rows) will produce large XML files. For extensive datasets, consider using other formats like XLSX or JSON. For reference tables, lookup data, and moderate-sized datasets, FB2 works well and provides a portable reading experience on e-ink devices.