Driver FixRecommendedSound, Wi-Fi or graphics acting up? Check drivers firstFind missing or outdated drivers fast.Check DriversOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsClean PCRecommendedOne scan can reveal what keeps slowing WindowsLook for cleanup and repair opportunities.Run Scan×
Skip to content
footer margins

How to Fix Oversized Footer Margins in Snappy PDFs

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

In Snappy, first determine where the extra white space appears, then check the two separate wkhtmltopdf controls: --margin-bottom sets the page’s bottom margin, while --footer-spacing sets the gap between the footer and the content, in millimeters. Also inspect the footer HTML’s rendered height and CSS. There is no universal numeric setting: the right combination depends on the page size, installed wkhtmltopdf version, footer, and other options.

Identify which gap is actually too large

“Footer margin” can describe several different spaces in a PDF. Identify the visible gap before changing configuration; otherwise, you may reduce the wrong area and make the layout harder to diagnose.

  • Between the body content and the footer: this is the gap addressed by --footer-spacing, documented in millimeters.
  • Below the footer, between it and the bottom edge of the paper: check the page’s --margin-bottom.
  • Inside the footer itself: inspect the footer HTML and its CSS, including margins, padding, line height, and table spacing.

These distinctions matter because the two wkhtmltopdf options are separate controls. Changing footer spacing is not the same as changing the paper’s bottom margin, and neither necessarily removes whitespace created by the footer’s own layout.

Record the effective Snappy and wkhtmltopdf configuration

Before adjusting values, note the exact wkhtmltopdf version used for the PDF and how Snappy invokes it. Record the effective page size, bottom margin, footer spacing, header options, and any per-document overrides. The options that matter are the ones reaching the renderer for the failing document—not merely values you expect the application to use.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
PDF Converter Ultimate - Convert PDF files into Word, Excel, PowerPoint and others - PDF converter software with OCR recognition compatible with Windows 11 / 10 / 8.1 / 8 / 7
  • Convert your PDF files into Word, Excel & Co. the easy way
  • Convert scanned documents thanks to our new 2022 OCR technology
  • Adjustable conversion settings
  • No subscription! Lifetime license!
  • Compatible with Windows 11, 10, 8.1, 7 - Internet connection required

Keep a copy of the original settings and a sample output. If the result changes, you will then know which configuration change caused it and can revert cleanly. Include the footer HTML, CSS, and any JavaScript that affects its contents in your diagnostic record.

Isolate the cause with a controlled test

  1. Make a small reproduction. Use one page of body content and a short footer with fixed, known content and height. Keep the page size and all other relevant options constant.
  2. Compare the output before changing settings. Mark whether the unwanted space is above the footer, below it, or inside it. Check that the footer is present and that the body content has not simply ended earlier than expected.
  3. Change one control at a time. Adjust bottom margin or footer spacing separately, then render again. If both change in one test, the result will not tell you which control mattered.
  4. Keep the HTML and CSS constant while comparing values. A changed footer can alter the result independently of the wkhtmltopdf options.
  5. Repeat with realistic content. Once the short-footer case behaves as intended, test the longest or most variable footer your documents use.

The command-line reference lists the default for --footer-spacing as 0 mm. That is a documented default, not a recommendation for every document; the appropriate setting depends on the footer and the intended content area.

Adjust the page margin and footer spacing for the actual layout

When the gap is between content and footer

Review --footer-spacing first. It describes the distance between the footer and content, so it is the most direct control for that particular gap. Compare rendered results while holding the bottom margin, page size, footer markup, and other options steady.

When the gap is below the footer

Review --margin-bottom, which controls the page’s bottom margin. Set it with the actual footer height and desired printable content area in mind. A margin that is adequate for a short footer may not suit one whose content grows or wraps.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #2
Doxillion Free Document Converter – Converts DOCX, DOC, PDF, WPS and Many More Files Quickly [Download]
  • Convert over 50 document file formats.
  • Preview your files from Doxillion before converting them.
  • Use batch conversion to convert thousands of files at once.
  • Enjoy an easy-to-use, intuitive interface with a Drag and Drop file option.
  • Burn your converted or original files directly to disc.

When the footer itself creates the space

Inspect its rendered dimensions and CSS rather than trying to compensate entirely with page-level settings. Look for margins and padding on the footer and its children, line height, table spacing, and content that varies between pages. Historical reports describe whitespace changing with HTML footer content, including difficulty accommodating a footer with variable height. Those reports are useful diagnostic examples, not a guarantee that every layout behaves the same way.

Test both a short and a long footer after tuning. If the footer content changes dynamically, a fixed margin chosen for one output may not fit another. Avoid adopting a number from somebody else’s PDF without matching the page size, renderer version, footer dimensions, and other options.

Check header options and version-specific behavior

Header settings can be relevant even when the visible problem is at the bottom of the page. Historical issue reports describe cases where footer spacing appeared to follow header spacing, and a separate report for wkhtmltopdf 0.12.6 described unexpected header-spacing behavior when only a footer was supplied. Treat these as configuration-specific clues, not proof of a current general defect.

For a controlled comparison, check whether the output changes when header options are present, omitted, or empty, while keeping the rest of the test fixed. Record the exact option set and renderer version for each result. Do not assume that --footer-spacing alone explains an outcome when header configuration also changes.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
PDF Extra 2024| Complete PDF Reader and Editor | Create, Edit, Convert, Combine, Comment, Fill & Sign PDFs | Lifetime License | 1 Windows PC | 1 User [PC Online code]
  • EDIT text, images & designs in PDF documents. ORGANIZE PDFs. Convert PDFs to Word, Excel & ePub.
  • READ and Comment PDFs – Intuitive reading modes & document commenting and mark up.
  • CREATE, COMBINE, SCAN and COMPRESS PDFs
  • FILL forms & Digitally Sign PDFs. PROTECT and Encrypt PDFs
  • LIFETIME License for 1 Windows PC or Laptop. 5GB MobiDrive Cloud Storage Included.

The wkhtmltopdf library settings reference also documents margins and header/footer configuration. It warns that excessive header spacing can put a header outside the PDF and notes top margin as a correction. That is a separate layout issue, but it is a reason to check the full set of margin and header settings rather than treating one spacing option in isolation.

Use a test matrix before changing production output

A compact comparison makes it easier to distinguish an option problem from a footer-layout problem. Render the same page content in each case and record the version and effective options alongside the result.

Test Keep fixed Change or inspect What it helps reveal
Baseline Page size, body, footer HTML/CSS, renderer version Record all effective margin, spacing, and header options Where the whitespace occurs before a change
Spacing comparison Everything except footer spacing Change --footer-spacing only Whether the gap between body content and footer responds to that setting
Bottom-margin comparison Everything except bottom margin Change --margin-bottom only Whether the paper’s lower margin accounts for the observed space
Footer-layout comparison Page options and body content Inspect or simplify footer CSS and content Whether dimensions or variable content inside the footer contribute
Header-option comparison Page size, content, footer, renderer version Compare the actual header-option combinations used Whether the result depends on header configuration
Long-footer check Page options and body layout Use a representative longer or variable-height footer Whether the adjustment still fits when footer content grows

This is a diagnostic sequence, not a set of guaranteed outputs. Select final values by checking the generated PDFs against the content area and footer you need.

Troubleshoot common outcomes

The footer is too far from the body, but the bottom margin looks acceptable

Check --footer-spacing and compare it independently from --margin-bottom. Confirm that the gap is not caused by margins, padding, line height, or table spacing inside the footer HTML.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #4
MobiPDF Lifetime - Professional PDF Editor for Windows | Edit, Sign & Convert PDFs | Best Adobe Acrobat Pro Alternative | Lifetime License
  • Edit PDFs with Ease. Modify text, images, and layouts directly within your PDF documents.
  • Convert & Organize. Export PDFs to Word, Excel, or ePub, and organize files with ease.
  • Read & Annotate. Enjoy intuitive reading modes and powerful tools to comment, highlight, and mark up PDFs.
  • Create & Manage PDFs. Create new PDFs, combine multiple files, scan documents, and compress for easy sharing.
  • Fill & Sign Forms. Complete forms and digitally sign documents with secure e-signature tools.

The footer sits correctly relative to content, but too much page remains below it

Check the effective bottom margin and the footer’s actual rendered height. Keep the footer and page size fixed while comparing the margin; do not use footer spacing to correct whitespace below the footer.

Changing the spacing option seems to have no effect or gives an unexpected result

Verify that the intended value is reaching the wkhtmltopdf process for this document. Then record the version and test the exact header options as well as any per-document overrides. Historical reports show that header/footer interactions have been observed in particular builds and configurations, but do not establish a universal cause.

A setting works for one document but not another

Compare page size, footer markup and CSS, footer height, and effective options. If the footer content varies, run a longer-footer test before treating the value as suitable for all documents.

You cannot explain the output from the options alone

Reduce the document to one page and a fixed-height footer, then add back the original layout features one at a time. This helps isolate whether the change comes from page settings, header options, or footer HTML/CSS.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Best Value
PDF Pro 3 - PDF editor to create, edit, convert and merge PDFs - 100% Compatible with Adobe Acrobat - for Windows 11, 10, 8.1, 7
  • ALL-IN-ONE SOLUTION – read, edit, convert, merge and protect your PDF files
  • MAXIMUM FUNCIONALITY – create interactive forms, compare PDFs, bates numbering, find and replace text or colors, convert documents, OCR engine, comment, highlight, fill out and print forms, document protection and others
  • EASY TO INSTALL AND USE – well-structured user-interface, in-program instructions, free tech support whenever you need it
  • GREAT VALUE FOR MONEY - why spend a fortune if you can have maximum functionality at a reasonable price - this also fits the requirements of companies very well
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Escalate with a reproducible example

If the controlled case still behaves unexpectedly, prepare a minimal example for the project’s issue-reporting process. Include:

  • the exact wkhtmltopdf version and how Snappy invokes it;
  • the minimal HTML, CSS, and JavaScript needed to reproduce the output;
  • page size and all effective margin, footer-spacing, header, and footer settings;
  • a description or image of where the whitespace appears, and the rendered PDF if appropriate;
  • the smallest change that makes the behavior appear or disappear.

The project’s support guidance asks for the version and a detailed reproducible case, including HTML, CSS, and JavaScript. Historical issue reports—including one concerning 0.12.5 that listed a 0.12.7 milestone—do not independently establish which fix, if any, is present in a particular current installation. Verify the behavior with the version you actually run.

Or skip the browser setup

ScreenshotNeo is a separate website screenshot API, not a way to change Snappy or wkhtmltopdf’s PDF margins. It can help you capture a clean screenshot of the HTML page for visual comparison while diagnosing a layout. Its one-request API can return a screenshot or PDF; this example saves a webpage screenshot as WebP. See the ScreenshotNeo API documentation.

curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -o shot.webp

ScreenshotNeo accepts cookie/consent banners and removes more than 60 known consent platforms, newsletter popups, and chat widgets before capture; each cleanup step can be turned off. Bot checks, blank pages, timeouts, failed loads, and cache hits are not billed, and response headers identify the page verdict and billing status. Its MCP server offers take_screenshot, get_page_info, and capture_pdf tools for AI agents and MCP clients. The Free plan includes 1,000 screenshots per month with no card; paid plans start at $5 for 3,000 shots.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Sign up for ScreenshotNeo’s free plan to get 1,000 screenshots a month with no card.

Quick Recap

Bestseller No. 1
PDF Converter Ultimate - Convert PDF files into Word, Excel, PowerPoint and others - PDF converter software with OCR recognition compatible with Windows 11 / 10 / 8.1 / 8 / 7
PDF Converter Ultimate - Convert PDF files into Word, Excel, PowerPoint and others - PDF converter software with OCR recognition compatible with Windows 11 / 10 / 8.1 / 8 / 7
Convert your PDF files into Word, Excel & Co. the easy way; Convert scanned documents thanks to our new 2022 OCR technology
$29.99
Bestseller No. 2
Doxillion Free Document Converter – Converts DOCX, DOC, PDF, WPS and Many More Files Quickly [Download]
Doxillion Free Document Converter – Converts DOCX, DOC, PDF, WPS and Many More Files Quickly [Download]
Convert over 50 document file formats.; Preview your files from Doxillion before converting them.
Bestseller No. 3
PDF Extra 2024| Complete PDF Reader and Editor | Create, Edit, Convert, Combine, Comment, Fill & Sign PDFs | Lifetime License | 1 Windows PC | 1 User [PC Online code]
PDF Extra 2024| Complete PDF Reader and Editor | Create, Edit, Convert, Combine, Comment, Fill & Sign PDFs | Lifetime License | 1 Windows PC | 1 User [PC Online code]
READ and Comment PDFs – Intuitive reading modes & document commenting and mark up.; CREATE, COMBINE, SCAN and COMPRESS PDFs
$99.99
Bestseller No. 4
MobiPDF Lifetime - Professional PDF Editor for Windows | Edit, Sign & Convert PDFs | Best Adobe Acrobat Pro Alternative | Lifetime License
MobiPDF Lifetime - Professional PDF Editor for Windows | Edit, Sign & Convert PDFs | Best Adobe Acrobat Pro Alternative | Lifetime License
Edit PDFs with Ease. Modify text, images, and layouts directly within your PDF documents.; Convert & Organize. Export PDFs to Word, Excel, or ePub, and organize files with ease.
$99.99
Bestseller No. 5
PDF Pro 3 - PDF editor to create, edit, convert and merge PDFs - 100% Compatible with Adobe Acrobat - for Windows 11, 10, 8.1, 7
PDF Pro 3 - PDF editor to create, edit, convert and merge PDFs - 100% Compatible with Adobe Acrobat - for Windows 11, 10, 8.1, 7
ALL-IN-ONE SOLUTION – read, edit, convert, merge and protect your PDF files
$29.99

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Read next

Recommended PC Tool
Recommended PC Tool
Outdated Drivers Are Slowing You DownFree scan - exact matches
PC Slower Than It Used to Be?Free scan - under a minute

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.