Adding pages to existing pdf file

I have a PDF document with over 300 pages. I need to add 15 pages in between - after page 180. How can I do it?

asked Dec 23, 2010 at 23:08 2,874 8 8 gold badges 31 31 silver badges 50 50 bronze badges

6 Answers 6

You could use pdftk from the commandline:

pdftk A=bigpdf.pdf B=insert.pdf cat A1-180 B A181-end output output.pdf

Or if you want a GUI you could use PDFsam (PDF split and merge), PDFjam or jPDFTweak. (PDF Shuffler has already been mentioned.)

answered Dec 23, 2010 at 23:38 6,511 2 2 gold badges 31 31 silver badges 31 31 bronze badges

It was from 191 page that I had to add other pages. Using the following command pdftk A=251.pdf B=542.pdf A1-191 B A191-end output output.pdf gave me this error A1-191 not found as file or resource. Error: Failed to open PDF file: A1-191 B not found as file or resource. Error: Failed to open PDF file: B A191-end not found as file or resource. Error: Failed to open PDF file: A191-end Errors encountered. No output created. Done. Input errors, so no output created.

Commented Dec 23, 2010 at 23:47 you missed the "cat". Commented Dec 23, 2010 at 23:55 Oh yeah. sorry to trouble you. Commented Dec 24, 2010 at 0:02 How can one insert blank pages on PDFsam? Commented May 20, 2015 at 18:43

@WaldirLeoncio, A simple way to insert a blank page, regardless of what PDFsam does, is print a blank libreoffice document page using the "print to file" option. Now you have a blank page you can add in.

Commented Feb 1, 2016 at 4:27

PDF-Shuffler

PDF Shuffler is an ideal application for this. It allows you to import several PDF files and rearrange the pages. You can also delete the pages you don't wish to keep in the output PDF.

alt text

answered Dec 23, 2010 at 23:35 37.4k 13 13 gold badges 100 100 silver badges 153 153 bronze badges

Just compared PdfShuffler 0.6.0, PDF Mod 0.9.1 and PDF Split and Merge basic Ver. 1.1.4 (pdfsam). PdfShuffler is basic but simple, my favorite. PDF Mod and PdfShuffler look similar (same icons, same presentation). PDF Mod is better integrated in Gnome Shell. PDF Split and Merge (pdfsam) looks more complex. Hope this comment helps. Cheers ;-)

Commented Apr 18, 2015 at 13:55 PdfShuffler installs a program called PDF Arranger. Commented Jun 13, 2020 at 17:37 Please update this solution. pdfarranger is the new name for pdfshuffler. Commented Apr 6, 2022 at 19:34

PdfMod works well if you prefer to use a GUI. Install it by typing:

sudo apt-get install pdfmod 
38.5k 27 27 gold badges 158 158 silver badges 235 235 bronze badges answered May 6, 2011 at 19:31 krumpelstiltskin krumpelstiltskin 2,738 2 2 gold badges 26 26 silver badges 29 29 bronze badges

PDFMod appears to be extremely buggy - deleting and inserting pages causes duplicates to appear and so forth.

Commented Jun 15, 2018 at 17:37 Yep core dumping for me Commented May 16, 2021 at 6:35

You can try this GUI tool: uPdf (maintained by atareao.es team)

You can add blank pages, or pages from other documents or insert images, or text.

sudo add-apt-repository ppa:atareao/updf sudo apt-get update sudo apt-get install updf 
1,172 11 11 silver badges 15 15 bronze badges answered Sep 27, 2012 at 9:40 334 2 2 silver badges 3 3 bronze badges

Although my answer is not so smart but it will work, let's call your pdf document to be file.pdf:

  1. Go to Libre office writer and use ctrl + enter for as many blank pages as you want. Save it on the desktop.
  2. Use online doc to pdf convertor. (call it B.pdf)
  3. open file.pdf and type ctrl + p . Following window will pop up:

enter image description here

In the pages field fill the pages that you want to separate. Also click on the file button to save your first 180 pages (call it part A.pdf). Save this as a separate pdf. Similarly save pages from 181 - 300 (call it part C.pdf)

  1. Use online pdf merger to merge A.pdf, B.pdf, C.pdf.

Note: Although it may be little bit tedious but it doesn't involve any package at all. Using available tools you can get the desired pdf.