Skip to content

HEIF to TXT Converter

FileFlip converts HEIF to TXT entirely inside your browser, using ImageMagick, MuPDF and Pandoc compiled to WebAssembly. The file is never uploaded to a server: it is read off your disk, converted on your own machine, and saved back by the browser. That means no file-size limit, no queue and no account.

Convert HEIF to

How do I convert an HEIF file to TXT?#

  1. Drop your HEIF file onto the converter at the top of this page, or click it to pick one from your computer. You can add as many as you like.
  2. Leave the target set to TXT and the conversion starts on its own. FileFlip downloads 79.9 MB of WebAssembly the first time and nothing after that, then runs ImageMagick, MuPDF and Pandoc on your own machine.
  3. Save the TXT file. Your browser writes it straight to your downloads folder, because there was never a server holding it.

Does converting HEIF to TXT lose quality?#

No. The HEIF picture is placed into the TXT document at its full resolution, so every pixel reaches it intact. What you give up is that it becomes a picture inside a document rather than text.

Is it safe to convert HEIF files online?#

Yes, because nothing is uploaded. FileFlip converts HEIF files inside the browser tab you already have open, using WebAssembly builds of the same engines a desktop converter would install. Your file is read from your own disk into the page's memory, and no request carrying it is ever made.

You do not have to take that on trust. Open your browser's network panel, run a conversion, and you will see the engine come down and your file go nowhere. There is no upload, no server-side copy, no retention window, and no account tied to what you converted.

How FileFlip works lists every engine, its version and its download size, and shows how to check for yourself that nothing leaves your machine.

What HEIF to TXT actually does to the file#

Converting HEIF to TXT runs on ImageMagick, MuPDF and Pandoc, downloads 79.9 MB of WebAssembly the first time and nothing after that, places the picture into the document at full resolution, and drops EXIF metadata, ICC colour profile, animation frames and extra images.

EngineImageMagick, MuPDF and Pandoc
Conversion path3 steps: HEIF → PNG → HTML → TXT
Downloaded to your browser79.9 MB, once, then cached by your browser
QualityPixels preserved
You get backOne file
Where it runsIn a background worker, so the page stays responsive

What survives the conversion

What is in the fileThis conversionWhy
EXIF metadataDroppedThe target format has nowhere to put it.
ICC colour profileDroppedThe target format has nowhere to put it.
Animation framesDroppedThe target format has nowhere to put it.
Extra imagesDroppedThe target format has nowhere to put it.

Worth knowing before you start:

  • ImageMagick is asked for a single image, so only the first frame, page, or icon size is read
  • the picture is placed in the document as a picture; no text is recognised out of it
  • the file passes through HTML on the way, so anything HTML cannot express does not survive

What is an HEIF file?#

An HEIF file is a general-purpose container, built on the same ISO base media file format as MP4, that can hold one or more images encoded with any of several codecs, HEVC being the case Apple names HEIC and AV1 being the case standardized separately as AVIF.

Expect HEIF, rather than HEIC specifically, from cameras and devices that encode stills with a codec other than HEVC, since HEIF is the umbrella container those files also use.

Convert a HEIF file to JPEG or PNG when the destination only accepts a single, codec-agnostic raster image, since most upload forms and older software carry no HEIF decoder at all.

What is a TXT file?#

A TXT file is a sequence of characters and line breaks with no formatting, container or metadata at all, so the only two things that determine whether it opens correctly on another machine are its character encoding and its line-ending convention.

Use TXT for anything a script, a diff tool or a command line will read, or when the destination genuinely needs the words with no formatting attached.

Convert TXT to DOCX or PDF when the plain words need headings, styling or a fixed page layout added on top of them.

HEIF to TXT questions people ask#

What's the difference between HEIF and HEIC?

HEIF is the container format, defined by ISO/IEC 23008-12, and it can hold images encoded with several different codecs. HEIC is specifically a HEIF file whose images are encoded with HEVC, which is the case Apple uses for iPhone and iPad photos, so every HEIC file is a HEIF file but not every HEIF file is a HEIC file.

Is AVIF the same thing as HEIF?

AVIF is a HEIF file whose images are encoded with the AV1 codec, in the same way HEIC is a HEIF file encoded with HEVC. The AVIF specification is written explicitly as a profile of HEIF, but it registers its own MIME type and extension because AV1 avoids the patent licensing that comes with HEVC.

Why does my camera save photos with a .heif extension instead of .heic?

Some cameras, including recent Canon and Sony models, encode HEIF stills for 10-bit HDR photography using a codec setup that isn't the HEVC-in-HEIF case Apple calls HEIC, so they label the file with the generic .heif extension instead. The underlying container is the same either way.

Why do accented characters turn into strange symbols when I open a TXT file?

A TXT file has no way to declare its own character encoding, so the program opening it has to guess. When a file saved as UTF-8 gets opened as a legacy encoding like Windows-1252 instead, multi-byte characters like é or emoji get reinterpreted as several unrelated symbols, a corruption usually called mojibake.