Every format, one endpoint.

txtfetch detects the real type from the bytes, not the extension, and hands it to Apache Tika. Drop a file below and watch txtfetch fingerprint it from the bytes, or search the full list.

Drop a file below to see what txtfetch detects — runs in your browser, nothing is uploaded.

Showing 65 of 65 listed formats, plus 615 more via Apache Tika. Checked against the build we run →

PDF & documents

  • .pdfPortable Document Format
  • .rtfRich Text Format
  • .txtPlain text
  • .mdMarkdown
  • .texLaTeX source
  • .logLog file

Deep dive: extract text from PDFs →

Microsoft Office (modern)

  • .docxWord document
  • .dotxWord template
  • .xlsxExcel workbook
  • .xlsmExcel workbook (macro-enabled)
  • .pptxPowerPoint presentation
  • .pptmPowerPoint presentation (macro-enabled)
  • .potxPowerPoint template

Deep dive: extract text from modern Office files →

Microsoft Office (legacy)

  • .docWord 97-2003 document
  • .xlsExcel 97-2003 workbook
  • .pptPowerPoint 97-2003 presentation
  • .pubPublisher document
  • .vsdVisio drawing
  • .oneOneNote notebook
  • .msgOutlook message

Deep dive: extract text from legacy .doc, .xls and .ppt files →

OpenDocument

  • .odtOpenDocument text
  • .odsOpenDocument spreadsheet
  • .odpOpenDocument presentation
  • .odgOpenDocument graphics
  • .ottOpenDocument text template
  • .fodtFlat OpenDocument text

Deep dive: extract text from OpenDocument files →

Apple iWork

  • .pagesPages document
  • .numbersNumbers spreadsheet
  • .keyKeynote presentation

Email & messaging

  • .emlEmail message
  • .msgOutlook message
  • .mboxMailbox archive
  • .pstOutlook data file
  • .ostOutlook offline data file
  • .vcfvCard contact

Deep dive: extract text from email messages →

eBooks

  • .epubEPUB ebook
  • .fb2FictionBook

Deep dive: extract text from EPUB ebooks →

Web & markup

  • .htmlHTML page
  • .htmHTML page
  • .xhtmlXHTML page
  • .xmlXML document
  • .rssRSS feed
  • .atomAtom feed

Deep dive: extract text from web pages and HTML →

Data & structured

  • .csvComma-separated values
  • .tsvTab-separated values
  • .jsonJSON document
  • .yamlYAML document

Deep dive: extract text from CSV and delimited data →

Images (OCR via Tesseract)

No text layer? Tesseract OCR reads the pixels automatically — same request, same response.

  • .pngPNG image
  • .jpgJPEG image
  • .jpegJPEG image
  • .tiffTIFF image
  • .bmpBitmap image
  • .gifGIF image
  • .webpWebP image

Deep dive: extract text from images and scans →

Archives (recursed)

Contained files are extracted and their text pulled out too, not just filenames.

  • .zipZIP archive
  • .tarTar archive
  • .gzGzip archive
  • .7z7-Zip archive

Deep dive: extract text from ZIP archives →

Audio & video (metadata only)

Tika reads embedded metadata and tags here — title, artist, duration, codec — not spoken words. txtfetch does not transcribe audio or video.

  • .mp3MP3 audio (ID3 tags)
  • .wavWAV audio (metadata)
  • .mp4MP4 video (metadata)
  • .movQuickTime video (metadata)
  • .m4aMPEG-4 audio (metadata)
  • .oggOgg audio/video (metadata)
  • .flacFLAC audio (metadata)

Try it: extract & clean up a video/audio file's caption track →

under-the-hood

Every format above goes through the same pipeline. txtfetch detects the real type, extracts structurally with Apache Tika, and falls back to Tesseract OCR when there's no text layer. Then it returns clean JSON. See how it works end to end.

Detection reads a file's magic bytes, not its extension or claimed media type. See the glossary for what both terms mean.

Stop parsing. Start shipping.

Create an account and get an API key in minutes. The free Hobby plan needs no card.

Get started →