Free online TXT to CBZ converter
Render a plain-text ebook into numbered page images packaged as a CBZ archive.
Convert TXT to CBZ online - free
Your file is processed automatically and deleted right after you download the result, or after 3 hours at the latest.
Import a file from a URL
Paste a direct link to the file. We download it to our server and it is converted exactly like an upload.
How it works
-
1/3
Upload your .txt file
Click to browse to select your file you want to convert or simply drag & drop your file into selected area.
-
2/3
Perform .txt to .cbz conversion
After successful file upload, click to convert when you are ready.
-
3/3
Download converted .cbz file
Conversion result is ready to download.
Conversion statistics: TXT to CBZ
Updated December 1, 2026, from conversions on 101convert.com
How to convert txt to cbz file
- Ebooks
- No ratings yet.
A comic reader may support CBZ archives but not plain-text ebooks. Converting TXT to CBZ renders the words as page images, so the result can be read in that format but is no longer editable or searchable text.
What the TXT format is
TXT stores characters without document layout, fonts, or embedded images. Readers use it for ebooks when simple text compatibility matters; it can be opened and edited in plain-text editors.
What the CBZ format is
CBZ is a ZIP archive of comic-book page images, commonly PNG or JPEG, named so a reader can display them in order. It packages pages in one file and is supported by many comic readers. Text rendered into CBZ pages is not selectable or reflowable.
Convert online on 101convert.com
- Open the TXT-to-CBZ converter on 101convert.com and upload the TXT file.
- Start the conversion.
- Download the resulting CBZ file.
The converter accepts batches of files. Check the page for its per-file size limit.
Convert offline with Python and Pillow
This method works on Windows, macOS, and Linux. It renders UTF-8 text onto numbered PNG pages and packages them in a CBZ archive. Install Python 3 and Pillow with python -m pip install pillow, then save this script as txt_to_cbz.py:
from pathlib import Path
import io
import sys
import zipfile
from PIL import Image, ImageDraw, ImageFont
source, output, font_path = sys.argv[1:4]
text = Path(source).read_text(encoding="utf-8-sig")
font = ImageFont.truetype(font_path, 28)
width, height, margin, line_height = 1200, 1600, 80, 42
usable = width - 2 * margin
def render(text):
pages = []
image = Image.new("RGB", (width, height), "white")
draw = ImageDraw.Draw(image)
y = margin
def add_line(value):
nonlocal image, draw, y
if y + line_height > height - margin:
pages.append(image)
image = Image.new("RGB", (width, height), "white")
draw = ImageDraw.Draw(image)
y = margin
draw.text((margin, y), value, fill="black", font=font)
y += line_height
def wrap(value):
result = []
line = ""
for word in value.split():
candidate = f"{line} {word}".strip()
if draw.textlength(candidate, font=font) <= usable:
line = candidate
continue
if line:
result.append(line)
line = ""
piece = ""
for char in word:
if piece and draw.textlength(piece + char, font=font) > usable:
result.append(piece)
piece = char
else:
piece += char
line = piece
if line:
result.append(line)
return result
for raw_line in text.splitlines():
if not raw_line.strip():
add_line("")
else:
for line in wrap(raw_line):
add_line(line)
pages.append(image)
return pages
with zipfile.ZipFile(output, "w", zipfile.ZIP_DEFLATED) as archive:
for number, page in enumerate(render(text), 1):
data = io.BytesIO()
page.save(data, format="PNG")
archive.writestr(f"{number:04}.png", data.getvalue())
Run python txt_to_cbz.py book.txt book.cbz "C:\Windows\Fonts\arial.ttf" on Windows, replacing the font path with an installed TrueType font path on macOS or Linux. Change the page dimensions, margins, font size, or line height in the script to alter the layout.
Quality and compatibility
TXT has no original page breaks or typography, so the font and script settings determine the pagination and appearance. The script expects UTF-8 text (with or without a byte-order mark) and a font that contains the needed characters. CBZ readers can differ in image scaling; the resulting pages are raster images, not searchable ebook text.
TXT vs CBZ: format comparison
How the TXT and CBZ formats compare on the properties that matter most for this conversion.
| Property | .TXT Plain Text File | .CBZ Comic Book Zip archive |
|---|---|---|
| Open standard | Yes | Partly open |
| Compression | Uncompressed | Lossless |
| Typical file size | Very small | Medium |
| Opens in a web browser | Yes, natively | No |
| Further editing | Easy | Limited |
| Metadata support | None | Basic |
| Plain-text readable | Yes | No |
| Best used for | Data exchange | Sharing and distribution |
| MIME type | text/plain | application/vnd.comicbook+zip |
Information about file extensions and file types is provided by File-Extensions.org
The database currently does not contain any direct txt file converter links.
Frequently asked questions
Is the TXT to CBZ converter free?
Yes, converting TXT to CBZ on 101convert.com is completely free. No registration, email address or installation is required. If you need a higher file size limit or want to convert more files at once, see our plans.
How large can my TXT file be?
You can upload TXT files up to 10 MB and convert up to 3 files at once in a single batch. With a paid plan the limit is up to 1000 MB per file and 20 files at once, see our plans.
What happens to my uploaded files?
Files are processed automatically. Your upload is deleted from our servers right after you download the result, or after 3 hours at the latest. We never view or share your files.
Do I need to install any software to convert TXT to CBZ?
No. The TXT to CBZ conversion runs entirely online in your browser and works on Windows, Mac, Linux, Android and iPhone.
Did the conversion fail?
In most cases, the cause is an incorrect file format. Please upload a valid TXT file for this TXT to CBZ conversion. Occasionally, the issue may be on our side. We analyze recurring conversion failures and disable or fix the converter if we detect a defect.