txt2epub is a command-line utility for Linux that converts one or more plain ASCII or UTF-8 text files into an EPUB document.
It’s aimed at users who want a quick, lightweight way to turn plain text books or chapters into e-reader friendly files, while adding useful EPUB metadata such as title and author information, a table of contents, and an optional cover image.
This is free and open source software.
Key Features
- Converts multiple input files into a single EPUB document.
- Adds standard author and title metadata.
- Generates an NCX table of contents for e-readers.
- Supports an optional cover image.
- Handles limited Markdown-style formatting and XHTML input.
Website: https://github.com/kevinboone/txt2epub
Support:
Developer: Kevin Boone
License: GNU General Public License v3.0

txt2epub is written in C. Learn C with our recommended free books and free tutorials.
Related Software
| eBook Utilities | |
|---|---|
| Sigil | Multi-platform WYSIWYG ebook editor |
| pandoc | Universal document converter |
| EpubCheck | Validate your EPUB Books |
| Booktype | Platform that produces beautiful, engaging books |
| Crowbook | Convert books written in Markdown to HTML, LaTeX/PDF and EPUB |
| papeer | Web scraper for ereaders |
Read our verdict in the software roundup.
Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more. Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form. |

