Convert JP2 to TXT

Turn JP2 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 JP2 files on the dialor turn it to pick what to do

The text from a JPEG 2000 image.The words in the picture come out as a plain text file. Layout, tables and pictures are dropped.

  1. What you get

    One TXT file that holds the text read from your JP2 image. It has no formatting at all, so you get the words and nothing around them.

    The text is read with OCR, which looks at the picture and works out which letters it shows.

  2. What it leaves behind

    Layout, tables and pictures are dropped. Only the text remains, so columns, cell borders and images in the JP2 do not appear in the TXT.

    If the picture has no readable text, the conversion stops with unsupported_elements. The same code appears when the file holds something the target cannot carry.

  3. Set the language

    Set Language to tell OCR which letters to expect. Naming the right language matters most for Korean, Japanese and Chinese. To name several, separate them with commas, such as en,ko.

    A file that cannot be parsed stops the conversion with input_corrupted.

JP2 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 · JP2

JPEG 2000

JPEG 2000, a wavelet image codec used in archives, cinema and medical imaging.

Extensions
.jp2 .j2k
MIME type
image/jp2
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 JP2 to TXT conversion through the API, for your app or your agent.

terminal
$ cv convert photo.jp2 photo.txt
$ cv convert photo.jp2 photo.txt

Questions.What people ask about JP2 to TXT.

01OF 04

Yes. The text in the image is read with OCR and saved as one TXT file. See every JP2 conversion for other targets.

No. Layout, tables and pictures are dropped. Only the text is kept.

The conversion stops with unsupported_elements. A picture with no readable text cannot become a text file.

Set Language to the language in the picture, such as en,ko for English and Korean. It matters most for Korean, Japanese and Chinese.

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