
PDF to HTML converter
HTML sections with extracted text from each PDF page. Use PDF.js to read text items by page and write escaped HTML paragraphs.
Open toolA PDF with revised visible page boundaries. Inset each current CropBox by the entered margins in PDF points. Provide PDF document, Left margin, Right margin to compute results directly in your browser. Margins apply in unrotated PDF coordinates to every page. Cropping hides content, not secure redaction. Rejects margins that remove the entire visible page.
Enter the inputs, then select Crop pages.
Result will appear here
The Crop PDF evaluates PDF document, Left margin, Right margin in client-side JavaScript using the deterministic rule below and updates the output panel immediately without uploading data to a server.
Inset each current CropBox by the entered margins in PDF points.
Margins apply in unrotated PDF coordinates to every page. Cropping hides content, not secure redaction. Rejects margins that remove the entire visible page.
Review the input parameters, allowed value ranges, and worked reference cases for the Crop PDF below before running your calculation.
| Parameter / Scenario | Default / Sample Value | Rule or Allowed Range | Output / Usage Note |
|---|---|---|---|
| Input: PDF document | (User supplied) | Local file only, up to 10 MB. Additional decoded limits apply. | Required workspace parameter |
| Input: Left margin | 18 | Range: 0 to 1000 | Required workspace parameter |
| Input: Right margin | 18 | Range: 0 to 1000 | Required workspace parameter |
| Input: Top margin | 18 | Range: 0 to 1000 | Required workspace parameter |
| Worked Case 1: Hide excess page margins | Preloaded / test values | Inset each current CropBox by the entered margins in PDF points | Enter equal margins to reduce visible whitespace. Values are PDF points rather than percentages or screen pixels. |
| Worked Case 2: Align an uneven scan | Preloaded / test values | Inset each current CropBox by the entered margins in PDF points | Use different margins on each edge when a scan has an off-center border. Every page receives the same inset. |
Follow these three steps to configure PDF document, Left margin, Right margin, verify unit and boundary rules, and export your Crop PDF output.
Start by entering PDF document in the workspace. The calculator preloads a baseline value so you can immediately inspect the expected input format.
Supply left margin, right margin and confirm that your values satisfy the operational rule (Margins apply in unrotated PDF coordinates to every page. Cropping hides content, not secure redaction. Rejects margins that remove the entire visible page). Out-of-range or invalid entries trigger an immediate validation message.
Run the Crop PDF to generate the result in real time. Use the Copy or Download actions to save the output for spreadsheets, engineering notes, or code documentation.
These concrete scenarios illustrate how the Crop PDF processes baseline inputs, comparison checks, and boundary constraints.
Enter equal margins to reduce visible whitespace. Values are PDF points rather than percentages or screen pixels.

Use different margins on each edge when a scan has an off-center border. Every page receives the same inset.

When solving for 'crop pdf', verify that PDF document, Left margin, Right margin use consistent units and stay within the documented scope: Margins apply in unrotated PDF coordinates to every page. Cropping hides content, not secure redaction. Rejects margins that remove the entire visible page.

The output panel reports the exact result derived from PDF document, Left margin, Right margin alongside any unit or formatting notes.
Every calculation follows the rule: Inset each current CropBox by the entered margins in PDF points. Because JavaScript uses IEEE 754 double-precision floating-point arithmetic, numeric outputs display up to 12 significant digits where applicable.
Always cross-check the displayed result against the scope note (Margins apply in unrotated PDF coordinates to every page. Cropping hides content, not secure redaction. Rejects margins that remove the entire visible page) before applying the value to production specifications, financial models, or lab records.

Review these boundary constraints and validation rules before relying on the Crop PDF output.
Operational scope: Margins apply in unrotated PDF coordinates to every page. Cropping hides content, not secure redaction. Rejects margins that remove the entire visible page. Inputs that violate minimum/maximum bounds or required format rules are rejected with a clear diagnostic prompt.
Need an adjacent calculation in Text Tools? Use the related tools linked below to chain your workflow without leaving your browser.


HTML sections with extracted text from each PDF page. Use PDF.js to read text items by page and write escaped HTML paragraphs.
Open tool
An image-only PDF of extracted EPUB chapter text. Extract EPUB text in spine order, wrap it on canvas pages and embed those page images in a PDF.
Open tool
A PDF with flattened form fields or rasterized pages. Use pdf-lib form flattening or render all page appearances into an image-only PDF.
Open toolChoose another tool for your next calculation, conversion, or text task.

A reflowable EPUB 3 book from supported Word blocks. Extract sanitized DOCX structure, then build an EPUB package with supplied title and author.
Open tool
Sanitized structural HTML from a Word document. Read DOCX with Mammoth and sanitize its text, headings, lists, links and basic tables.
Open tool
Sanitize HTML in an inert fragment, then collect visible text with block and line-break boundaries.
Open tool
Convert common Markdown headings, lists, links, emphasis and tables to LaTeX source. Download an editable fragment for your TeX project; this page does not compile a PDF.
Open toolAnswers about using Crop PDF and understanding its results.
The Crop PDF applies the rule: Inset each current CropBox by the entered margins in PDF points. Enter PDF document, Left margin, Right margin into the workspace and the tool computes the exact output in your browser.
Yes. Provide PDF document, Left margin, Right margin using the documented units and format shown in the quick reference table above. Preloaded default values let you test the workflow immediately.
Margins apply in unrotated PDF coordinates to every page. Cropping hides content, not secure redaction. Rejects margins that remove the entire visible page. Confirm that your inputs fall within the allowed ranges before exporting the result.
Yes. All calculations for the Crop PDF execute 100% locally in your browser's JavaScript runtime. No inputs or results are uploaded to any external server.
Choose another tool for your next calculation, conversion, or text task.