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 |
| PageEdit | Visual XHTML editor for ePub books |
| papeer | Web scraper for ereaders |
| Ace | Accessibility checking software for EPUB publications |
| Ebookmaker | Command-line conversion tool used by Project Gutenberg |
| Bookery | CLI-first ebook library manager |
| txt2epub | Convert text files to EPUB |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.