How to Translate a PDF and Keep the Layout
October 16, 2026 · Oyren AI Team (AI-written)
Recommendation: A PDF keeps its pages, columns and tables through translation only when each translated block is drawn back where its original text sat, inside its own column. Oyren's PDF translator works this way for 27 languages, leaves equations, code and figures untouched, and lists every block that did not fit before a new copy is saved.
Choose or create a workspace, upload a PDF and open it from the file list.
Translation in place, within each column
Unlike a word-processor document that reflows paragraphs across page breaks, a PDF positions every text block at fixed coordinates on a page. Because a translated sentence rarely matches the character length of the source sentence, a PDF translator must either export the file into a reflowable format that discards the page layout or draw the translated text directly back onto the page where the source text sat. Oyren's in-place translator preserves the page geometry by routing each element on the page according to its role:
Body text blocks (blue) are translated in small batches and drawn back where they sat, each within its own column. A target-language passage that runs longer than the source first takes the free width beside it, up to the column's edge or the next block on its line, and wraps into the free space below only where its alignment holds. Only then does the font size scale down, uniformly and to a floor of 60 percent, and any block that still does not fit at 60 percent is flagged as Overflow so no words are silently clipped. Equations, code blocks, and figures (green) bypass the translation model entirely so mathematical notation, source code, and diagrams remain identical to the original page. Inside body sentences, numbers, URLs, email addresses, and inline code spans (orange) are locked: each one is swapped for a placeholder before the text goes to the model and put back unchanged afterwards. If the model drops or repeats a placeholder, that block is rejected, so factual edits never slip through unnoticed. Finally, a review list (pink) gathers every Overflow block and every font-fallback block before the user saves a new PDF.
The figure below is real output. On the left is the top of page 1 of about-oyren.pdf, Oyren's three-page introduction. On the right is the same part of the German copy that Oyren's Translate saved from it on 1 December 2026 (Whole document, Claude Sonnet 5). The title, the subtitle and both section headings stay on one line each, the table keeps its columns and rules, and the "In dieser Demo" box holds its text. The run marked all 73 sections "Replaced with Noto Sans" and none as Overflow. The type is not perfectly even: each source line is fitted on its own, so the two lines of the German opening paragraph come out at different sizes.
Page 1 of about-oyren.pdf (left) and of the German copy Oyren saved from it on 1 December 2026 (right), the top of each page, rendered with pdf.js from the two files. No text was changed by hand. Both files open in live viewers on the PDF translator page.
A translation run
Opening any uploaded PDF inside an Oyren workspace exposes Translate in the top PDF toolbar. Because in-place translation operates on editable text blocks, a scanned PDF or a page without prepared text blocks first runs through workspace OCR while the document remains open on screen.
Before launching the job, the toolbar dialog selects the target language, the page scope, and the AI model. Twenty-seven target languages are supported: Azerbaijani, Chinese (Simplified), Chinese (Traditional), Czech, Danish, Dutch, English, Finnish, French, German, Greek, Hungarian, Indonesian, Italian, Japanese, Korean, Norwegian, Polish, Portuguese, Romanian, Russian, Slovak, Spanish, Swedish, Turkish, Ukrainian, and Vietnamese. The scope can target the single page currently on screen, specific ticked text blocks, or the entire document, making a one-page trial an easy way to inspect terminology before translating a long paper.
During execution, blocks are sent in small batches with a live progress bar. Canceling a run mid-document preserves every batch already completed in the preview so credits spent on finished sections are never wasted.
Once the preview renders on the page, the review panel lists every Overflow block alongside any block rendered in a fallback font (Noto Sans, Noto Serif, or Noto Sans JP) when the PDF's embedded font lacks target-language glyphs. Clicking any row in the review list jumps directly to that block on the page, and failed or rejected sections can be retried individually without re-running the rest of the document.
Applying the preview writes the translated blocks as page edits that Undo translation can revert at any point, and Save as new PDF exports a separate translated PDF into the workspace beside the untouched original file.
Operational limits
Several boundaries apply to in-place translation. Right-to-left scripts such as Arabic and Hebrew appear in the language list as disabled entries because right-to-left PDF line layout is not yet supported. Labels baked into raster chart images and words embedded inside display-equation blocks stay in the source language because figures and equation blocks are intentionally excluded from translation. Blocks flagged as Overflow at the 60 percent scaling floor require a brief manual trim in the block editor so they fit cleanly, and regulated legal, medical, or contractual filings still require review by a qualified human translator.
In-place PDF or converted document
Cloud document APIs often convert PDFs into office files during translation. DeepL's API, for example, can accept a PDF upload and return an editable Word .docx file, as documented in its document translation guide. DeepL's usage limits cap PDF uploads at 10 MB and 500,000 characters on the Free API tier (100 MB and 1 million characters on Pro), and its document quickstart notes a 50,000-character minimum billing floor per PDF regardless of page count.
| Output | Layout | Suited to |
|---|---|---|
| OutputTranslated PDF, drawn in place | LayoutSame pages, same positions | Suited toHanding the same document to a reader of another language |
| OutputConverted Word file | LayoutRebuilt as an editable document | Suited toFurther editing of the translated text |
Cost
PDF translation in Oyren uses standard workspace AI credits with no paid subscription required. Model token usage follows the rates on the model pricing page, and preparing scanned pages into editable text blocks costs 84 credits per page as listed on the plans page. At 10,000 credits per $1.00, preparing a 20-page scanned article costs 1,680 credits ($0.168) prior to model translation, which fits inside the 2,500 one-time credits included with a free account (no credit card required).
When a scanned PDF should become a structured Markdown note in free Oyren Docs, see how OCR turns a scanned PDF into Markdown and the guide to OCR a scanned PDF into an editable note. Full details on in-place translation live on the PDF translator page, and any PDF uploaded to a workspace can be translated directly from the viewer toolbar.
Common questions on layout-preserving PDF translation
Preservation of the original uploaded PDF
Applying a translation creates reversible page edits that Undo translation can roll back at any time, and Save as new PDF writes a brand-new file in the workspace while leaving the original PDF untouched.
Causes for rejected translation blocks
Whenever the translation model alters a protected token inside a paragraph, such as changing a number, URL, email address, or inline code span, that block is marked as rejected and left unapplied; clicking retry re-translates only the rejected blocks.
Choose or create a workspace, upload a PDF and open it from the file list.
Open a PDF workspace