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.
Explore our carefully curated directory of recommended free and open source software, covering every major software category.The directory forms part of our extensive collection of articles for Linux enthusiasts. It includes hundreds of detailed reviews, together with free and open source alternatives to proprietary software from companies such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. LinuxLinks also covers interesting projects worth exploring, Linux-compatible hardware, free programming books and tutorials, and much more. Know a useful free and open source Linux application that we haven’t covered? Tell us about it using our submission form. |


Please read our Comment Policy before commenting.