PDF Commons

Split horizontal PDF

Cuts each page at its horizontal midpoint. It runs in this tab. The file is not uploaded.

A $6 day pass is 24 hours, charged once, and it does not renew. Pricing

No ad script loads from this choice. It stays in this browser.

Where the horizontal cut falls

Split horizontal PDF takes one PDF and cuts every page across the middle. There is no page field. The download is one file named split-horizontal.pdf. The worker loads the file with pdf-lib. It copies each page, then sets the media box and the crop box. The first copy is the top half. The next copy is the bottom half. The cut is a horizontal line halfway up the media box height. A page that measures 200 by 100 points becomes two pages of 200 by 50 points. The top media box starts at y 50. The bottom media box starts at y 0. Text drawn at y 70 that says TOP stays on the top half. Text drawn at y 20 that says LOW stays on the bottom half. Words outside a half are not shown there, because the box no longer covers them. The content stream is copied, not redrawn, and nothing is rasterized. A link on the first page is copied onto both halves. The document title Keep Title stays. The author Keep Author stays. A page of 300 by 150 points becomes two pages of 300 by 75 points, and the top box starts at y 75. A page of 400 by 200 points rotated 90 degrees becomes two pages of 400 by 100 points. Both keep that rotation. The top box starts at y 100. Text that says THREE, drawn at y 140, stays on the top half. Three pages become six pages. One page becomes two pages. This is not Split vertical PDF, which cuts left and right into split-vertical.pdf. This is not One page PDFs, which packs whole pages into pages.zip. This is not Split PDF, which can save whole pages, keep a range, or cut after a named page. This is not Split every N PDF, which packs chunks into parts.zip. This page keeps one PDF and always cuts at the midpoint. The original file on disk is not rewritten.

The cut runs in this tab with the open-source workers. The file is not uploaded. There is no GridFS copy. Closing the tab drops the copy. The browser downloads split-horizontal.pdf. Split vertical PDF writes split-vertical.pdf. One page PDFs packs pages.zip. The Word page at /pdf-to-word uploads.

There is no page cap on this cut. The tab has to hold the file. This page does not need a pass. A day pass is $6, charged once, for 24 hours, and it does not renew. A year is $60 for 365 days. Neither charge is required to cut pages here. The 20-page server cap is not this tool. That cap belongs to PDF to Word, OCR, and heavy compress.

An empty file stops with "This PDF could not be read." Bytes that are not a PDF stop with "This PDF could not be read." A file with no pages stops with "This PDF has no pages." A locked file, opened without its password, stops with "Expected instance of PDFDict, but got instance of undefined". Unlock PDF is the separate page. This page does not ask for a password and does not guess one.

Steps

  1. Drop the file. It stays in this tab.
  2. Set the one option on the page, if it has one.
  3. Download the result. Closing the tab drops the copy.

Questions

Which half comes first?

The top half comes first and the bottom half follows it in split-horizontal.pdf.

Is the PDF uploaded?

No. The cut runs in this tab. The file is not uploaded. Closing the tab drops the copy. You get one file named split-horizontal.pdf. The Word page at /pdf-to-word uploads.

What stays on each half?

TOP at y 70 stays on the top half of a 200 by 100 point page. LOW at y 20 stays on the bottom half. A rotation of 90 degrees stays. The title Keep Title stays.

Does this page need the $6 day pass?

No. A $6 day pass lasts 24 hours, is charged once, and does not renew. A $60 year lasts 365 days. Neither charge is required to cut pages here. The 20-page server cap is not this tool.

Also