Convert TXT to WEBP
Turn TXT files into WEBP files. The text is printed on A4 pages in a fixed-width font, line by line, so spaces and indentation stay where they were and long lines wrap at the page edge.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop TXT files on the dialor turn it to pick what to do
Text pages as WebP images.Each page of your text file becomes one WebP picture.
What you get
The text is printed on A4 pages in a fixed-width font, line by line. Each page becomes one WebP, so a longer file gives you several images, one per page.
Spaces and indentation stay where they were. Long lines wrap at the page edge.
The pictures are drawn at 150 dpi and quality 90 unless you ask for something else.
Sharper or exact text
Set Resolution (dpi) to change how many pixels each inch of the page becomes. Higher is sharper and makes a bigger file. Around 150 reads well on screen, and 300 is the usual choice for print. The range is 36 to 600.
Turn on Lossless to keep text edges exact. The result is identical in pixels to what was drawn, and much bigger than a lossy one. Without it, Quality sets how much detail lossy compression keeps. Above 90 the file grows quickly while the picture barely changes.
Size limits
Set Width (px) to give the exact width of each image. The height follows the aspect ratio unless you also give it, in which case the picture can be stretched. WebP holds at most 16383 pixels a side, so Width (px) stops there.
TXT and WEBP.What each format is, and the options this conversion takes.
- 01 · dpi
Resolution (dpi)
How many pixels each inch of the page becomes when it is drawn as a picture. Higher is sharper and makes a bigger file. Around 150 reads well on screen, and 300 is the usual choice for print.
36 to 600 default 150 - 02 · lossless
Lossless
Encodes without losing anything where the format can. The result is identical to the input in pixels or samples, and much bigger than a lossy one.
- 03 · quality
Quality
How much detail lossy compression keeps. Higher keeps more detail and makes a bigger file. Above 90 the file grows quickly while the picture barely changes.
1 to 100 default 90 - 04 · width
Width (px)
The exact width of the result in pixels. The height follows the aspect ratio unless it is also given, in which case the picture can be stretched.
1 to 16383
The formats
Plain Text
Plain text with no formatting at all. The smallest, most portable form of a document.
- Extensions
- .txt .log
- MIME type
- text
/plain - Kind
- Text and data
WebP
Google's web image format with lossy and lossless modes, alpha and animation. Smaller than JPEG and PNG.
- Extensions
- .webp
- MIME type
- image
/webp - Kind
- Images
In your code.The same TXT to WEBP conversion through the API, for your app or your agent.
$ cv convert report.txt report/ --to webp$ cv convert report.txt report/ --to webpQuestions.What people ask about TXT to WEBP.
Yes. The text is set in a fixed-width font, so spaces and indentation stay where they were.
Each page of the text becomes its own WebP. A longer file fills more than one A4 page.
Turn on Lossless. The pixels are then identical to what was drawn, and the file is much bigger than a lossy one.
WEBP to TXT goes the other way.