Poppler pdftohtml converts PDF pages into HTML or XML-style output that a translation team can inspect for extractable text, layout clues, links and hidden reading-order problems. It is useful when a client sends only a PDF and the project needs a first-pass text inventory or a web-oriented review copy, but it does not reconstruct the original document’s semantic structure reliably and does not translate the content. A correct conversion still requires human decisions about paragraphs, tables, captions, scripts and the meaning of the source.
This pdftohtml CLI tutorial shows how to convert a PDF to HTML, create an XML extraction for post-processing, choose simple or complex output, limit page ranges and examine text and image handling for multilingual translation QA. It answers common questions about broken reading order, copied labels, scanned pages, invisible text and why an apparently readable HTML conversion may not be safe to publish as a website. The workflow is designed for source intake and controlled review, not for automatically laundering a finished PDF into an approved translation or accessible online edition.
- Choose HTML or XML extraction according to the task; neither is a guaranteed reconstruction of the original editable source.
- Inspect reading order, missing text, tables, headers, footers and cross-page continuations before using extracted content.
- Treat Unicode, right-to-left scripts, fonts and scanned pages as independent failure risks.
- Preserve source custody, privacy, document rights and an audit trail for conversion outputs.
- Rebuild reader-facing documents from clean, structured, reviewed sources wherever possible.
Why PDF-to-HTML conversion is useful but limited
Many translation projects begin with a PDF because it is the only file a customer has kept. The PDF may be a brochure, safety guide, quotation, invoice, public policy or academic paper. It captures page presentation but may not preserve the original paragraph structure, styles or logical reading sequence in a reusable way. A conversion to HTML can help collect visible text and approximate layout, making it useful for initial assessment. It can also expose content that is difficult to select in an ordinary viewer.
The important distinction is between extraction and authorship. A PDF-to-HTML tool guesses how text and graphics should be represented after reading the page description. It may create many positioned fragments instead of meaningful headings and paragraphs. Translation editors should not mistake that markup for the source document. A sustainable multilingual project usually creates or obtains a structured source, translates and reviews that source, then publishes independently in HTML or PDF as required.
Understand the two major output purposes
HTML output can approximate the visible page and allow quick browser review. XML output can provide text elements and positional information useful for downstream analysis. The two representations serve different tasks. A layout-oriented HTML page may be visually plausible but awkward for assistive technology; an XML file may be convenient for parsing while looking nothing like the original document. A team should choose the format based on the decision it needs to make.
For example, a translator assessing whether a contract contains all clauses might use extracted XML to inventory text and page coordinates. A designer trying to understand which German captions overflow could examine an HTML approximation, then inspect the original PDF. Neither output should be treated as an approved public website without editing and validation. The result may lack meaningful heading levels, language attributes, responsive behavior, correct alt text and stable link destinations.
The simple first command
A basic pdftohtml invocation names the source PDF and an output path. The tool also supports options for page ranges, single-document HTML, XML-oriented extraction and whether images are included. Before building automation, run pdftohtml -h and pdftohtml -v on the installed system. The precise generated filenames and image directories can depend on mode and package version, so use a clean output folder and inspect the result rather than assuming a single file.
Keep the original PDF read-only and record its checksum. Store conversion artifacts in a separate intake directory. If the output is intended for a translation vendor, open it and verify all important pages first, including the last page. A conversion can return successfully while omitting text stored only as pixels or producing awkward word spacing. The vendor must understand whether the file is provisional extraction or a validated, approved translation source.
Simple versus complex HTML is a real trade-off
Different conversion modes balance approximate layout against ease of reuse. Complex output may preserve more visual positioning through styles and positioned elements. Simpler output may be easier to read or inspect as text but lose column relationships. The relevant switches include options for complex output and single-file HTML, with limitations documented for particular mode combinations. There is no globally correct option for every kind of PDF.
If the source is a magazine with sidebars and two columns, a visually complex result may help identify where text belongs, but it may be a poor substrate for responsive web publishing. If the source is a linear policy note, a simpler extraction may better support editing. Compare both approaches on a representative page before processing hundreds of files. Judge success by whether the output helps a real editor preserve meaning, not by whether it resembles the source at one browser window size.
XML output is not the original authoring XML
The -xml mode provides a representation for post-processing. It may expose text positions or other structural clues, but those are extraction observations rather than proof of original document semantics. A source document’s headings, table groups, footnotes and warnings may have been flattened when the PDF was created. Some information cannot be recovered automatically because the PDF was never designed to preserve it in the first place.
Use the XML as evidence to be interpreted. A script might group positioned text fragments into paragraphs, but its rules will fail on some columns, tables, scripts and decorative headings. Preserve a link from each extracted unit to its source page and bounding area, and flag uncertain groupings for review. Do not present a converted XML file to translators as if it were guaranteed semantic content. That mistake can silently change reading order and produce an apparently fluent but inaccurate result.
Reading order is different from visual order
A human may read the left column of a page and then the right, whereas a PDF may store glyphs in a sequence that interleaves both columns. Conversion software must infer which fragments belong together. Two headings can be visually aligned yet extracted in reverse order; a footer can appear in the middle of a sentence. Such errors are particularly dangerous when translators work from extraction alone and never see the page.
Build an intake review that compares extracted text against full-page images. Test a two-column page, a figure with an adjacent caption, a footnote and an instruction containing a numbered list. Where extraction order is wrong, correct the document structure in the editable working source before translation. Do not rely on translators to infer the correct sequence from broken HTML. They may not know the topic well enough to reconstruct a safety procedure accurately.
Tables require deliberate reconstruction
PDF tables often consist of independently positioned text and drawn lines. A converter may preserve some visual alignment without producing semantic table rows and cells. This is not just a cosmetic issue. If a numerical value is associated with the wrong test condition, the translation can become unsafe or misleading. A browser layout that looks like a table may still be difficult for a screen reader to navigate.
Inventory tables separately. Confirm row labels, column headers, units, ranges, notes and negative signs against the source image. If a table is central to the document, rebuild it as a real structured table in the authoritative working document. Use tested numeric formats for each locale and protect controlled values. A PDF-to-HTML conversion is useful for copying text, but it should never be allowed to decide silently which number belongs to which header.
Footnotes, sidebars and repeated headers
Page decorations can confuse automated text grouping. A repeated running header might enter extracted text at the start of every page, a page number may interrupt a paragraph, and a footnote can appear before its marker or after unrelated body text. A decorative sidebar may be read as though it were the next sentence. These defects can escape notice when the translation is fluent and reviewers only check individual paragraphs.
Mark recurring page furniture and separate it from substantive content. Preserve footnote markers and destinations, and review source-page context whenever the converted order seems strange. If a footnote explains a liability exception or measurement limit, it belongs to the same comprehension unit as the associated sentence. Rebuilding a manual from disordered extraction without this review can change the legal or scientific meaning even if all words are present.
Unicode extraction has several failure modes
A PDF may embed fonts and glyph codes that do not map cleanly back to Unicode characters. pdftohtml can display or extract wrong characters when the source lacks suitable mappings or uses unusual encodings. Accented letters, superscripts, mathematical operators, ligatures and non-Latin scripts deserve testing. A page can look correct in the original PDF while producing question marks or substituted symbols in extracted HTML.
Construct a short validation sample with target-language words, punctuation, model codes, dimensions and several unusual characters from the actual project. Compare extracted strings against the original PDF and, if available, the underlying approved source. Do not decide that a conversion is accurate because the first English paragraph looks normal. In a multilingual document, the highest-risk content may be a small foreign-language quotation or a symbol in a table.
Right-to-left and mixed-direction text
Arabic, Hebrew and mixed left-to-right technical notation pose particular challenges. The PDF may store glyphs in one order and display them in another, while the HTML conversion may lack appropriate direction attributes or logical text sequencing. A phrase containing an Arabic instruction and a Latin serial number can be visually rearranged in a browser. Automatic extraction may also separate punctuation from the words it qualifies.
Ask a fluent reviewer to check representative sentences in both the original PDF and the converted output. Test selection and copy-paste, not just static screenshots. If the HTML is to become a real website, author appropriate language and directionality semantics in a cleaned source. Resist inserting arbitrary directional control characters as a quick fix without understanding their effect on search, editing and assistive use.
Scanned PDFs need a different first step
A scanned page may contain only a photograph of text. pdftohtml does not magically perform reliable multilingual OCR simply because the output mode is HTML. If no useful text layer exists, the extraction may be empty, incomplete or dependent on hidden OCR data already in the PDF. A translation team must distinguish image-only scans from digitally born documents during intake.
Use a permitted OCR workflow when appropriate, selecting trained language data and verifying recognition results. Pay special attention to amounts, handwritten notes, serial numbers, diacritics and mixed scripts. Keep the original page image linked to extracted text for review. OCR output is a proposed transcription, not an approved translation. Where records are legally controlled, record the method and uncertainty rather than silently treating recognized characters as authoritative.
Images, captions and decorative objects
The conversion may write page images or extract image resources depending on the selected mode. Image handling matters because some diagrams contain text and some decorative backgrounds can obscure actual body content. A translated webpage must not omit an instructional diagram simply because it is difficult to extract, nor should it inherit unnecessary decoration that makes the layout unusable on mobile.
Create an asset list with each image’s source page, caption, revision and translation status. Check whether text inside screenshots or diagrams needs localization. If converting to accessible HTML, write meaningful alternative text for instructional imagery rather than accepting a generic filename. A converted image element with a technically valid path is not proof that the image communicates its intended message to a reader in the target language.
Links, destinations and page navigation
A PDF can contain live links and internal destinations that do not translate cleanly into ordinary HTML. Some conversion modes try to rewrite PDF links into HTML-style links, but output behavior depends on how the source encodes actions and destinations. The visible link label may be translated while the destination remains an English-language page. For long reference guides, this can break the reader’s path through the information.
Click representative converted links, including internal chapter references, footnote links and external support URLs. Check link behavior in the original PDF as well, because it may already be wrong. When rebuilding a public site, define stable URLs and locale routing separately rather than relying on generated PDF-derived filenames. Protect security by reviewing outbound destinations and never assuming a valid-looking anchor is safe or appropriate.
One-page and multi-page output choices
A single HTML page can be convenient for searching and translation review, whereas multiple files can make a large manual easier to navigate. Different options influence output form, frames and page handling. But merging all PDF pages into one document does not necessarily reconstruct paragraphs that cross page boundaries or remove repeated running text correctly. Conversely, page-by-page output can split coherent explanations awkwardly.
Choose based on editorial requirements. For a public online manual, organize content into semantic sections and accessible navigation independently of the PDF page numbers. For audit comparison, retaining page boundaries may be useful because reviewers need to locate the source precisely. Keep a source-page reference even after cleaning the text. A reader-friendly website and a page-faithful extraction are distinct deliverables and should not be judged by the same metrics.
Whitespace, hyphenation and joining words
A word divided at the end of a PDF line may appear as a broken word or as two pieces in extracted HTML. Some languages have orthographic rules that make automatic dehyphenation risky, and technical part numbers must never be joined or broken casually. A converter can also insert spaces inside ligatures or remove spaces between CJK sequences. These issues can damage search, translation memory and automatic term recognition.
Review extracted text around line endings, hyphenated terms, units and product codes. A text-cleanup script should use a documented rule set and record uncertain cases for human approval. Avoid a global replacement that joins every hyphen at a line break, because a real compound term or negative value may be altered. Treat cleanup as editorial reconstruction of a document, not as a harmless formatting operation.
Encoding flags do not guarantee meaning
pdftohtml exposes an output encoding option in documented builds. UTF-8 is usually a sensible target for multilingual exchange, but choosing an output encoding cannot repair missing characters that were never mapped correctly from the PDF. It also cannot recover the original paragraph structure or determine whether a mathematical symbol has the right meaning. Encoding is one necessary component of a trustworthy pipeline, not a comprehensive language-quality setting.
Inspect the resulting file as real text. Try copying sample strings into a plain-text editor and searching them. Check that diacritics, nonbreaking spaces and punctuation survive the round trip. For right-to-left text, verify logical order separately from visual presentation. If a character is already wrong at extraction, repairing the display stylesheet alone will not restore the original text’s semantic identity.
Accessible HTML requires real semantic editing
A converted PDF may produce an HTML file that opens in a browser but lacks a sensible heading hierarchy, semantic lists, table headers, language attributes and meaningful image alternatives. Its layout might be created with absolute positioning, making it difficult to read on small screens. Accessibility does not follow automatically from the existence of HTML tags or from the PDF being selectable.
When HTML is the intended final publication, rebuild or clean it as a true web document. Identify headings and sections, convert table-like visual fragments to real tables, handle ordered procedures correctly, and test keyboard navigation. Set the page language and local directionality as needed. Check screen-reader behavior with people or qualified testers. A quick conversion can be a useful starting point, but its markup must undergo editorial and accessibility QA before public release.
Privacy, permissions and safe processing
PDFs may contain personal data, confidential business terms, draft comments, attachments or text that was not meant to be published. Conversion can expose hidden OCR layers or other extractable material even when a screenshot seems innocuous. Run tools in approved environments and limit access to the outputs. The presence of a command option that can bypass document restrictions does not create legal permission to do so.
Prefer authorized source files and explicit processing rights. Do not post extracted client data to public issue trackers or translation services without permission. Keep temporary output directories out of public web roots, and delete artifacts according to retention policy after approval. If a PDF requires credentials or prohibits extraction, ask the owner for a permitted workflow rather than treating a technical workaround as an entitlement.
Measure fidelity with both structure and meaning
A robust extraction assessment records expected pages, extracted segments, missing tables, captions, Unicode failures, links and layout uncertainty. It also measures reader-relevant meaning: are all conditions present, do procedural steps remain in order, and are quantities assigned to the correct subjects? A plain word count is a weak signal because a converter can duplicate headers while omitting a warning. Page completeness and semantic integrity need different checks.
Use source-page links to resolve disputes. If two editors disagree about a paragraph’s order, return to the original PDF and authoring context, not the converted HTML alone. Mark uncertain passages explicitly instead of making confident guesses in translation memory. A quality process can be simple, but it must be capable of saying ‘we cannot safely reconstruct this passage from the supplied PDF’ when that is the true condition.
Build an intake-to-publication workflow
First obtain the authorized PDF and record its origin. Second, inspect whether its pages contain usable text or scanned images. Third, choose HTML or XML extraction according to the assessment need. Fourth, compare representative extracted pages with the PDF and identify reading-order and table problems. Fifth, reconstruct a clean editable source and subject it to translation and specialist review. Sixth, generate the final target output using an appropriate publishing system.
Only after the final document exists should the team validate its visible text, links, accessibility, layout and distribution metadata. Do not simply host the first pdftohtml result and call it translated documentation. The value of the converter is to reduce intake effort and reveal how much reconstruction is needed. For routine source documents, obtain DOCX, HTML, XML or design originals wherever possible; those are usually better foundations for maintaining a living multilingual publication.
Team responsibilities and a defensible audit trail
A conversion engineer can explain tool options and extraction limitations. A translator can identify linguistic uncertainty. A domain specialist can validate technical quantities and instructions. A web developer can construct semantic HTML and test navigation. A release owner can approve the publication. Assign these responsibilities explicitly, because a file that looks complete may conceal errors outside any single person’s expertise.
Keep a small record naming the input PDF checksum, conversion command, tool version, output folder, failed pages, manual corrections and final approved source. When a customer later finds a problem, the team should know whether it was present in the original, introduced during extraction, created by translation or caused by publication. This traceability is more valuable than pretending that a successful conversion removes the need for editorial judgment.
Commands for a controlled extraction experiment
The following examples illustrate documented Poppler modes. Verify the exact invocation and output naming with the installed pdftohtml help and work in a separate directory, because the converter can create multiple files. The XML-oriented output is for post-processing and verification; it is not a guarantee of valid semantic DocBook, XHTML or source-authoring XML.
mkdir -p intake/html intake/xml
pdftohtml -s source.pdf intake/html/source.html
pdftohtml -xml source.pdf intake/xml/source.xml
pdftohtml -f 3 -l 7 -xml source.pdf intake/xml/section.xml
pdftohtml -i -s source.pdf intake/html/text-focused.html
pdftohtml -h
pdftohtml -v
Review the created filenames, encoded text and page order before handing conversion output to translators. Some versions use a base name for related image and HTML artifacts. If permissions or scanned content prevent useful extraction, note that finding instead of silently inventing missing words.
Twenty realistic PDF-to-HTML translation problems
Two columns are interleaved
A translated policy paper may extract as alternating lines from left and right columns. The words are mostly correct, making the defect easy to miss. Compare against a page raster image and reconstruct each paragraph in the correct order. Record the source page coordinates so a reviewer can verify the decision. Never send interleaved text to translators as an ordinary paragraph without marking the problem.
A liability footnote appears mid-sentence
A footnote printed at the bottom of page four may be inserted into the main paragraph near its reference marker or elsewhere in the extraction. Keep the marker linked to the actual note and establish the legal significance of the text. A translator should review the note with the clause it qualifies. Misplacing it can alter the apparent scope of a liability limitation even if every word survives.
A warning box disappears
A hazard message may be drawn as an image or encoded using glyph mappings the converter cannot recover. Compare the output with a full-page render, not only a text search. Reconstruct the warning from a verified source, preserve its severity and conditions, and require subject-specific review. A clean HTML output containing all ordinary paragraphs is not evidence that every critical warning was extracted.
A table value moves into the wrong column
Absolute positioning can preserve visual alignment without a machine-readable cell relationship. Check source lines and row headings, then rebuild a semantic table. Treat product limits, prices, dates and units as protected values. An apparently minor cell shift can turn a correct sentence into a dangerously incorrect instruction. Test the reconstructed table with both visual and assistive reading.
Arabic punctuation appears in the wrong place
The converter may not preserve logical order in mixed right-to-left and left-to-right text. Test a phrase containing an Arabic instruction, Latin model number, parentheses and a numerical unit. Compare original PDF display with extracted Unicode order. Rebuild appropriate language and directionality semantics in the final HTML rather than relying on browser heuristics to fix ambiguous input.
An OCR layer contains wrong names
A scanned document may already contain hidden text recognized by an earlier OCR process. pdftohtml can expose that layer, including its errors. Compare names, numbers and critical phrases against the page image. Mark low-confidence or illegible sections for manual transcription. Do not treat the mere existence of selectable text as evidence that the transcription is authoritative or suitable for automatic translation.
An image is exported without its caption
The converter may treat the diagram as an image and the adjacent text as an unrelated positioned object. The final web article could display a part without explaining it. Match assets to captions and references using source-page context. Record image revision and whether it contains text that needs localization. A figure’s instructional meaning comes from its relationship with the surrounding explanation.
Repeated page headers inflate the text
A document with a running title on every page can produce dozens of duplicate segments. This distorts translation workload estimates and can pollute translation memory. Detect recurring furniture by position and content, review ambiguous cases manually and keep the actual document title where it belongs. Do not globally delete a phrase just because it repeats: a repeated safety instruction may be intentionally substantive.
A page break splits one word
A word divided at a line end may be exported with an inserted hyphen or whitespace. Check whether it was a discretionary line break or a genuine compound term. Apply cleanup only after reviewing the original, particularly for model codes, pharmaceutical names and legal expressions. A one-character change can affect searchability or meaning, and translation memory may preserve the incorrect form across future projects.
Superscripts and scientific notation change
A scientific report may contain powers, units, Greek letters and special signs. The HTML extraction can flatten superscripts or misrecognize symbols. Compare formulas character by character and retain source-page evidence. Where mathematical notation is complex, rebuild it with suitable semantic markup and specialized review. Do not rely on a visually similar Latin letter in place of a distinct scientific symbol.
The HTML looks good on desktop but fails on mobile
Positioned text fragments can resemble the PDF at one viewport width and overlap when the browser narrows. If the goal is a public website, reconstruct semantic headings, paragraphs, lists and tables with responsive styles. Test with keyboard navigation and assistive technology. A faithful desktop screenshot of a conversion is not sufficient evidence of web usability for a global audience.
The last page is absent
The conversion may have been limited by a range option, an error, a damaged page or a mistaken file list. Compare expected PDF page count with extraction coverage, and inspect the actual output directory. Never interpret a successful result from pages one through ten as proof that pages eleven through twenty were processed. Include a final-page smoke check in every intake pipeline.
A product link points to a retired domain
The displayed anchor may survive conversion but its destination may remain obsolete or change incorrectly. Test both the original PDF link and extracted HTML link. Apply approved locale routing in the final publication, not arbitrary string substitution. When the destination has a security or safety purpose, treat it as a high-priority release check.
A quotation mark is replaced with garbage
Unusual font mappings can turn typographic punctuation into wrong characters or empty symbols. Compare text extraction with the page’s visual content and with a trusted source if available. Record the exact affected characters, PDF producer and font information. Replacing every strange symbol with an apostrophe is not safe when the original may be a unit mark, prime symbol or language-specific quotation sign.
A screenshot contains English UI text
The extracted HTML may carry an image of an English-language menu although the surrounding instructions have been translated. Decide whether the final deliverable needs a localized screenshot, bilingual explanation or language-neutral diagram. Use assets from the correct software revision and verify labels against the current interface. This is an image-localization decision, not a failure the text converter can solve.
An invisible draft note becomes extractable
A PDF may contain a hidden or off-page text object that is not obvious in a normal screenshot. Some extraction modes can reveal such text. Treat confidential material according to the owner’s policy and avoid publicly distributing raw conversion output. The correct action may require source cleanup and secure redaction, not simply hiding the text again with CSS.
An invoice total is duplicated
A summary box may be exported twice because of layered text, decorative shadow copies or extraction quirks. A parser may mistakenly interpret the duplicate as a second charge. Compare with the source page and reconstruct the financial meaning. Preserve currency, quantity, tax basis and payment status. Never ask a translator to decide invoice arithmetic from ambiguous extraction alone.
A hyperlink becomes unclickable text
Some conversions preserve the visible words of a URL but lose the interactive destination. If the output becomes a public website, add intentional semantic links and check their actual addresses. For an archive, record the source PDF’s link behavior separately. The presence of underlined blue text is not equivalent to a working or safe hyperlink.
The XML output is mistaken for DocBook
An XML extraction may contain page text elements but not meaningful chapters, procedures or tables. Feeding it directly into a structured publishing tool can create nonsense hierarchy. Build a validated semantic source with explicit elements and IDs, then translate it. XML is a syntax family, not proof that the content has the structure required by any particular documentation schema.
A page looks identical but the text order is wrong
A converted HTML layout can preserve each glyph’s position while screen readers or clipboard selection traverse elements in an illogical sequence. Test keyboard use, text selection and document outline separately from visual comparison. If it is a public web publication, prioritize meaningful source order and responsive reading rather than trying to preserve every pixel of the PDF.
A protected document requires credentials
If the source is encrypted or has restrictions, determine whether extraction is authorized and which secure access route is approved. Do not use undocumented bypass methods or publish credentials in scripts. If the owner can provide an editable source file instead, that is usually better for accurate translation and accessibility. Document any limitations rather than silently claiming complete extraction.
Frequently asked questions
Does pdftohtml translate the PDF?
No. It converts page content into HTML or XML-oriented outputs. Translation remains a separate linguistic task requiring review, especially for technical, legal or safety material. The converter can help with intake but cannot establish the meaning of an ambiguous source.
Can pdftohtml make an accessible website automatically?
Not reliably. The generated markup may use positioned fragments and omit semantic headings, table relationships, alt text or appropriate language metadata. A publication-quality website needs reconstructed structure, responsive design and accessibility testing. Treat conversion as a draft extraction, not a final web authoring system.
What is the difference between -xml and normal HTML output?
XML output is more useful for structured inspection or post-processing of extracted text and positions. HTML output is oriented toward browser presentation. Neither output proves recovery of the original document’s semantic source. Choose according to the task, then verify actual output against page images.
Why is the converted reading order wrong?
The PDF may store text objects in an order unrelated to natural human reading, especially in columns and tables. The converter must infer grouping from positions and other clues. Review original pages and rebuild correct paragraphs and table semantics before translation.
What if a PDF contains only scanned page images?
Use an authorized OCR process with appropriate language support and manual verification. pdftohtml alone does not guarantee meaningful recognized text. Keep the image and extracted text linked so uncertain words can be checked, especially names, amounts and scientific symbols.
How do I keep non-Latin characters intact?
Use an appropriate output encoding such as UTF-8, but verify actual character extraction and right-to-left order. If the PDF’s font mapping is defective, output encoding will not magically repair it. Test scripts and punctuation using representative real material.
Can a one-file HTML conversion replace a full documentation site?
Usually not. A generated single HTML file may lack maintainable headings, navigation, clean URLs and responsive design. For a real knowledge base, reconstruct controlled source structure and publish with a suitable site generator. Retain page references for audit but do not force PDF page boundaries to become web chapters.
Is pdftohtml the same as pdftotext?
No. pdftotext focuses on extracting text with options affecting layout and reading order. pdftohtml also attempts HTML or XML-oriented representation and may handle images or layout differently. Compare both when assessing a difficult source. Neither is a substitute for approved editable authoring files.
How can we reduce translation errors during intake?
Preserve the original PDF, inventory pages and attachments, sample extraction modes, reconstruct tables and order, flag uncertainty, and obtain expert review of high-risk passages. Keep a provenance manifest linking every working segment to its source page. Do not silently convert extraction guesses into authoritative translated text.
What should be the final deliverable?
The answer depends on the reader’s needs and the owner’s publishing agreement: an accessible webpage, a localized PDF or both. Produce it from an approved structured source where practical, then run linguistic, functional, visual and accessibility checks on the actual deliverable, not merely the intermediate conversion.
Documentation and complementary reading
Command options and output conventions differ between Poppler distributions. Check the installed manual before turning these examples into automation. The related guides explain separate text extraction, PDF raster review, structured XML publishing and document validation; using them together is often more reliable than expecting one converter to perform every job.
