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.

  1. 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.

  2. 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.

  3. 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.

  1. 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

From · WEBP

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
To · TXT

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.

terminal
$ cv convert photo.webp photo.txt
$ cv convert photo.webp photo.txt

Questions.What people ask about WEBP to TXT.

01OF 04

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.

More conversions.Other ways in and out of WEBP and TXT.