# sajari/docconv

Converts PDF, DOC, DOCX, XML, HTML, RTF, etc to plain text

Repository: https://github.com/sajari/docconv
Canonical: https://ross.abutalabs.com/products/docconv
Language: Go
License: MIT
License Family: permissive
Topics: rtf, docx, xml, html, rtf-files, docs, conversion, pdf, pdf-converter, word, go
Last push: 2024-07-01T12:41:17+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4688, "days_push": 793, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1788, forks 241 (observed 2026-08-28T04:05:36.406724+00:00)

## What it is
A Go library (with a companion docd CLI/HTTP service) that converts PDF, DOC, DOCX, XML, HTML, RTF, ODT, Pages documents and images into plain text. It can be used as a library, a command-line tool, or a Dockerized HTTP service that accepts multipart uploads and returns extracted text and metadata as JSON.

## Use cases
- extract plain text from pdf files in go
- convert docx documents to text for indexing
- run a document-to-text conversion service
- parse html pages into clean readable text
- ocr images to extract text
- convert rtf and odt files to plain text

## When to choose
- you need text extraction from many document formats in a Go application
- you want a ready-made HTTP service or Docker container for document conversion
- you're building a search pipeline that needs documents normalized to plain text

## When to avoid
- you need to preserve formatting or layout rather than plain text
- you're not in a Go/Unix environment and can't install external dependencies like poppler or wv
- you need high-fidelity PDF parsing with tables and structure

## Facets
- artifact type: library
- maturity: active
- function: parser, pdf, ocr, http-server, cli
- domain: files, pdf, developer-tools
- platform: go, cli
- tags: document-conversion, text-extraction, plain-text, docx, rtf, html-to-text, docd, search, linux, macos, docker, web-server

## Member repositories
- sajari/docconv (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:36.406724+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:23:27.439273+00:00, confidence not recorded.
  - readme: https://github.com/sajari/docconv (fetched 2026-08-28T04:05:36.406724+00:00, sha 751edc4b26f3)
- Data as of 2026-08-30T08:39:29.467469+00:00.
