PDF to Long Image
Stacks the pages of one PDF into a tall JPG or PNG at 1080, 1600 or 2400 px wide, in page order, with a 16 px white gap between pages. It runs entirely in your browser, so the PDF is never uploaded. Up to 50 pages per run, and a long document comes back as several images rather than one.
When a PDF has a lot of pages, the result is split into several long images so no single one exceeds your browser's canvas limits.
Up to 50 pages per run; for a longer document, split the PDF first and do it in parts.
How to use
- Choose one PDF: Drop a single PDF onto the box or click to pick it — up to 50 MB and up to 50 pages. Drop several files at once and none of them is added, so add one file only. To swap it afterwards, remove the current file with ✕ first.
- Set the width and the format: Pick 1080, 1600 or 2400 px under Long image width, then JPG or PNG. JPG at 1600 px is the default: 1080 px fits the most pages into each image, 2400 px is the sharpest.
- Create the long image: Click Create long image. The button reads Stitching… while your device works through the pages, and the line above the result tells you how many long images came out and their combined size.
- Check the result, then save: With several images, use the thumbnails to look through them before saving. On a phone the save button opens the system share sheet when the browser offers file sharing and simply downloads the image when it doesn't; Download all saves the images one after another rather than as a ZIP.
How the PDF to long image stitching works
This PDF to long image tool stacks all pages of one PDF vertically into JPG or PNG files, with 16 px white gaps. Choose 1080, 1600 or 2400 px; each run accepts up to 50 pages. Images split automatically at page boundaries when the height limit is reached. Processing stays in your browser.
Under the hood, each page is rendered with pdf.js, scaled to the same pixel width and painted onto one tall canvas in page order, so what you get back is an ordinary picture you can message, post or drop into a chat thread. Nothing is uploaded: the PDF is read straight from your disk into memory, combined on your own device and saved from there, so a payslip, a contract or an ID scan never leaves the machine in front of you.
One PDF goes in at a time, up to 50 MB. There is no page picker — every page of the file is included, first to last — and no progress indicator, so on a long document the button simply stays on Stitching… until the images are ready. There is no cancel button either, and the rendering code itself is only fetched when you press Create long image, which keeps the page light until you actually need it.
Processing time depends on your device, the page count and the complexity of the PDF. Between pages the tool hands a frame back to the browser so the page doesn't freeze, and browsers throttle that kind of frame-by-frame work in background tabs, so switching away mid-run may pause the stitching until you come back. Keep the tab in front while a big file is being processed. Results live in memory only — close or reload the page and both the PDF and the images are gone.
Choosing the width: 1080, 1600 or 2400 px
Height limit for one image = 12,000,000 ÷ width 1080 px → 11111 px tall · 1600 px → 7500 px tall · 2400 px → 5000 px tall
Width is the only sharpness control here, and it decides two things at once: how crisp the text looks, and how many pages fit into one image. 1080 px is the chat width — light enough to send and comfortable to read on a phone. 1600 px is the default and the safe choice for most documents. 2400 px keeps small print and table figures legible when someone zooms in, at the cost of a much heavier file and far fewer pages per image.
That last part surprises people, and it follows from how the ceiling is built: one long image is capped at twelve megapixels of area, so the height it is allowed to reach is 12,000,000 ÷ width. Increasing the width reduces the height available and makes each page taller, so fewer pages fit. For portrait A4, the calculated counts are 7 pages at 1080 px, 3 at 1600 px and 1 at 2400 px. At 2400 px a portrait A4 document comes back as one image per page, which is not a long image at all; when you want one continuous strip, pick 1080 px.
The format is the second choice. JPG is written at a fixed quality setting — there is no quality slider and no target size — and gives the smaller file, which is what messaging apps want. PNG is lossless, so charts, thin rules and small type stay cleaner, but the file is considerably larger. PNG does not give you transparency here: the canvas is filled with white before anything is drawn, so the background and the gaps between pages are solid white in both formats.
| Width | A4 page height | Height limit per image | A4 pages per image |
|---|---|---|---|
| 1080 px | ≈ 1527 px | 11111 px | about 7 |
| 1600 px (default) | ≈ 2263 px | 7500 px | about 3 |
| 2400 px | ≈ 3394 px | 5000 px | 1 |
Worked out from the formula in the code using the A4 viewport pdf.js reports (595.28 × 841.89 pt). Portrait A4 only — other page sizes give other counts — and calculated rather than measured on finished files.
Why you may get more than one image, and how they are saved
Getting several images is normal, and the split is automatic. Pages are added to the current image until the next page would push it past the height limit for that width; the image is then closed and that page starts a new one. Nothing is dropped and nothing is reordered — image 2 picks up at the page after the last one in image 1 — so a five-page A4 file at the default 1600 px comes back as two images, roughly three pages and two, not as one.
The line above the result counts the images and their total size, and thumbnails switch the preview between them. Names come from your PDF: a single image is report-long.jpg when the file was report.pdf, and several are numbered from 1 — report-long-1.jpg, report-long-2.jpg — so the reading order is in the filenames. Download all saves them one after another rather than bundling them into a ZIP, which means your browser may ask whether to allow multiple downloads.
There is no re-run button on the result screen: the width and format controls are hidden once images exist, and Start over clears the result together with the file, so you pick the PDF again. It is worth settling on the width before pressing the button. If the run fails instead, nothing partial is handed to you — the error replaces the whole result, and it names the cause rather than the page, so a problem page is not identified by number.
Longer than 50 pages? The run is refused outright instead of stitching the first 50, so cut the document into parts with Split PDF and stitch each part on its own.
What the long image keeps — and what it loses
Everything you can see on the page carries over; everything you could click or select does not. Text, vector drawings, embedded pictures and embedded fonts are painted in exactly as pdf.js renders them, pages carrying a rotation flag are stitched in their rotated orientation, and each page keeps its own proportions: all pages are scaled to the same width, so a landscape sheet becomes a short wide band between the taller portrait ones — at 1600 px a landscape A4 works out around 1131 px tall against 2263 px for portrait.
What you lose is the text layer. A long image is a bitmap, so no character in it can be selected, searched or copied, and there is no OCR to put the text back; keep the PDF if anyone needs the words. Links and bookmarks stop being clickable, form fields can't be filled in, and the document's title, author and keywords don't travel into the picture. Page boundaries survive only as the 16 px white gap, which is fixed — there are no page numbers, no borders and no way to widen or remove the spacing.
Annotations and form controls that carry an appearance of their own are drawn into the image, but that is not a promise for every annotation: one with no appearance of its own, such as a link that is nothing but a border, leaves nothing to paint. The width is in pixels rather than dots per inch — there is no DPI setting on this page — and every page is resampled to the width you chose, so an A3 sheet and an A5 slip end up the same width in the strip.
A PDF that asks for a password before it will open can't be stitched: there is no password box here, and the tool reports that the file is password-protected. Open it in a reader with the password, save or print an unprotected copy, and use that instead. A PDF that merely carries usage restrictions but opens without being asked for anything is normally processed as usual.
Everyday uses, and when a different tool fits better
Chat and social apps are the main reason people want this. WhatsApp, Telegram and Instagram show an image inline while a PDF needs a tap and a download, so a small shop can send a price list as one tall picture, a tutor can post a worksheet, and a landlord can share a two-page inventory without anyone opening a file. The other common use is reading: one long strip on a phone scrolls in a single gesture, which suits recipes, checklists and reference sheets far better than page-by-page swiping.
It is the wrong tool for a few jobs, and the site has better ones. If you want one picture per page instead of a strip, use the PDF to JPG tool. If you need an exact DPI, a page range, or just a couple of pages, PDF to Image has both page selection and resolution settings. To combine two documents into a single strip, merge them into one PDF first with Merge PDF, then come back. When the finished image is too heavy for an upload form, compress it with Compress Image, and if a site insists on WebP or another format, Convert Image writes what this page can't — only JPG and PNG come out of here.
Want each page as its own file, numbered and ready to attach one by one? That is PDF to JPG.
How this tool is checked
- The logic behind this tool is covered by 15 automated test cases (hand-checked examples, edge cases and invalid input), and they run again before every release.
- Before each release, a real browser opens this page, runs it on sample files (including a damaged one) and checks the file it produces.
- Your files are processed in your browser and are never uploaded to our server.
Frequently asked questions
- Will my whole PDF come out as one single long image?
- Only if it is short enough for the width you chose. One image is capped at twelve megapixels, so roughly seven portrait A4 pages fit at 1080 px, three at 1600 px and one at 2400 px. Anything longer is split automatically, in page order.
- Which width should I choose for sharing a PDF as an image?
- Start with 1080 px for chat sharing. It fits about seven portrait A4 pages per image under this tool's limits. Check small text in the preview, and try 1600 px if it is hard to read.
- Can I stitch a PDF with more than 50 pages?
- No. 50 pages is a hard limit for one run, and a longer file is refused outright rather than stitched up to page 50. Split the PDF into parts of 50 pages or fewer and make a long image from each part.
- Is my PDF uploaded to a server?
- No. The PDF is read into your browser's memory and stitched there by code that runs on your own device, with no upload step at any point. Close the tab and neither the file nor the images are left behind.
- Can I select or search the text in the long image?
- No — the result is a bitmap, so the words are pixels rather than text. There is no OCR here either. Keep the original PDF whenever anyone needs to copy, search or have the text read aloud.
- Why is my PNG long image white instead of transparent?
- Because the canvas is filled with white before any page is drawn. That applies to both formats, so a PNG from this page has an opaque white background and white gaps between pages. Choose PNG for sharper text, not for transparency.
- It says a page is too tall and I got no image at all. What now?
- Choose a smaller width and run it again. The message appears when one page is taller than the limit for the current width, and dropping to a narrower width helps twice over: the page gets shorter while the limit itself gets taller.
- Can I convert a password-protected PDF?
- Not one that asks for a password to open — there is no password box, and the file is reported as protected. Open it in a PDF reader with the password, save an unprotected copy, then stitch that copy instead.
Related tools
Cite this tool
Using a result in a report, paper or assignment? Copy a ready-made reference.
Gingertool. (2026). PDF to Long Image [Online tool]. Retrieved November 25, 2026, from https://gingertool.com/en/pdf/pdf-to-long-image/
“PDF to Long Image.” Gingertool, November 25, 2026, https://gingertool.com/en/pdf/pdf-to-long-image/. Accessed November 25, 2026.
@misc{gingertool-pdf-to-long-image,
author = {{Gingertool}},
title = {PDF to Long Image},
year = {2026},
url = {https://gingertool.com/en/pdf/pdf-to-long-image/},
note = {Accessed: 2026-11-25}
}