Convert WEBP to TXT
Turn WEBP images into TXT. The text read by OCR as plain lines, in English unless language lists others.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop WEBP files on the dialor turn it to pick what to do
The text from a picture.A WEBP image becomes a TXT file with only the words it holds.
What you get
One plain text file. The words in the picture are read with OCR and written out as text with no formatting.
An animated WEBP gives only its first frame.
What it leaves behind
Layout, tables and pictures are dropped. Only the text remains.
A picture with no readable text fails with
unsupported_elements. The conversion stops there because there is nothing to write into the TXT file.Naming the language
Set Language to the languages the text is in, so OCR knows which letters to expect. This matters most for Korean, Japanese and Chinese.
To name several languages, separate them with commas, such as en,ko.
WEBP and TXT.What each format is, and the options this conversion takes.
- 01 · language
Language
The languages the text is in, so OCR knows which letters to expect. Without it the text is read as English, so letters such as é, ß and ł come out wrong and other scripts, such as Cyrillic, Arabic, Thai, Korean or Chinese, are not read. Separate several with commas, such as fr,en.
The formats
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
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
In your code.The same WEBP to TXT conversion through the API, for your app or your agent.
$ cv convert photo.webp photo.txt$ cv convert photo.webp photo.txtQuestions.What people ask about WEBP to TXT.
No. Layout, tables and pictures are dropped, and only the text is kept.
It gives only its first frame.
The picture has no readable text, so there is nothing to put in the TXT file.
It matters most for Korean, Japanese and Chinese. Set Language so OCR knows which letters to expect.