Split PDF
Edit PDFs
- Merge PDFsJoin several PDFs into one, in the order you choose.
- Split PDFCut a PDF into parts: pages you choose, every few pages, or every page on its own.
- Reorder pagesPut the pages of a PDF in a new order, and delete the ones you do not want.
- Rotate pagesTurn pages that are sideways or upside down: every page, or only the ones you pick.
- Compress PDFMake a PDF smaller. The pictures shrink, the text stays sharp.
From PDF
- PDF to imagesSave the pages of a PDF as JPEG or PNG pictures.
- PDF to WordTurn a PDF into a Word document (.docx) you can edit.
- PDF to textGet the text out of a PDF as a plain .txt file.
To PDF
- Images to PDFPut pictures (JPEG, PNG, WebP, GIF) into one PDF, one picture per page.
- Word to PDFTurn a Word document (.docx) into a PDF.
- Text to PDFTurn a plain text file into a neat PDF.
Where your files went
Nowhere. They are read and worked on by this page, on your device.
How it works
Write the pages you want as ranges: 1-3, 7, 9- gives three PDFs, pages 1 to 3, page 7, and page 9 to the end. Tick “Put all of them into one PDF” to get a single file with just those pages. Or split every few pages, or into one file per page. More than one file comes as a ZIP.
Each new PDF holds only its own pages: pdf-lib copies them into a new file, and links to pages that are not in it are removed, so nothing of the other pages travels along hidden inside.
Made with pdf-lib 1.17.1 (MIT licence, as served), pdf.js 6.5 by Mozilla (Apache 2.0, as served) and fflate 0.8.3 for the ZIP (MIT, as served).
How this works
Each tool is a small program that this page downloads from this site and runs on your device, in your browser. Your file is read into the page’s memory, worked on there, and the result is handed back to you as a download. Nothing is sent anywhere: the page is not even allowed to send data to another server (its security policy forbids it), and the box “Where your files went” lists every request the page makes after you choose a file, so you can check.
Nothing is kept either: close the tab, or press Clear, and the files are gone. A result can go straight on to another tool with “Continue with”, still only in this page. The first use of a tool downloads its engine (from 0.1 to 5 MB); your browser then keeps it.
How it works
The pages of each file are copied, in the order of the list, into a new PDF by pdf-lib, a PDF library that runs here in your browser. Links from one page to another keep working when both pages are in the new file.
Bookmarks and form fields of the original files are not carried over: the pages look the same, but a form becomes a plain page.
Made with pdf-lib 1.17.1 (MIT licence, as served) and pdf.js 6.5 by Mozilla for the page counts and previews (Apache 2.0 licence, as served).
How it works
Write the pages you want as ranges: 1-3, 7, 9- gives three PDFs, pages 1 to 3, page 7, and page 9 to the end. Tick “Put all of them into one PDF” to get a single file with just those pages. Or split every few pages, or into one file per page. More than one file comes as a ZIP.
Each new PDF holds only its own pages: pdf-lib copies them into a new file, and links to pages that are not in it are removed, so nothing of the other pages travels along hidden inside.
Made with pdf-lib 1.17.1 (MIT licence, as served), pdf.js 6.5 by Mozilla (Apache 2.0, as served) and fflate 0.8.3 for the ZIP (MIT, as served).
How it works
Every page is shown as a small picture drawn by pdf.js. Drag a page to its new place, or move it with its arrows; × deletes it. “Start again” brings back the pages as they are in the file.
When you only change the order, the pages are rearranged inside the same file, so bookmarks, links and forms keep working. When you delete pages, the pages you keep are copied into a new file instead, so the deleted ones are really gone and cannot be recovered from it (bookmarks and form fields are not carried over then).
Made with pdf.js 6.5 by Mozilla (Apache 2.0 licence, as served) and pdf-lib 1.17.1 (MIT, as served).
How it works
Turn every page at once with the buttons above the pages, or single pages with the arrows under each picture. Each click is a quarter turn.
The pages are not redrawn: the PDF only records how each page is turned, so text stays sharp and selectable, and links, bookmarks and forms stay as they are.
Made with pdf.js 6.5 by Mozilla for the pictures (Apache 2.0 licence, as served) and pdf-lib 1.17.1 (MIT, as served).
How it works
The PDF is opened by MuPDF, a PDF engine that runs here in your browser as WebAssembly. It is downloaded from this site the first time you use the tool (about 5 MB) and then kept by your browser.
Lossless rewrites the file: it drops parts nothing uses, packs the rest tighter, and keeps only the letters each font really needs. Nothing you can see changes.
Recommended also shrinks every picture to 150 dots per inch at the largest size it appears on a page, which is still sharp on screen and in print. Strong goes to 96 dots per inch, which is fine on screen. Photos are saved as JPEG; screenshots, plots and logos stay lossless at their new size, so text inside them does not blur. A picture is only replaced when the new one is clearly smaller.
The text, links, bookmarks and forms of the PDF are kept as they are.
MuPDF is made by Artifex Software and is free software under the GNU Affero General Public License 3 (the licence as served with it). The copy used here is the unchanged npm release mupdf 1.28.6 (MuPDF's source). This tool's own code uses it, so it is under the same licence: source.
How it works
Each page is drawn by pdf.js, the PDF reader of Firefox, at the resolution you choose, and saved by your browser as a picture. JPEG makes small files and suits photos; PNG keeps text and lines perfectly sharp. More than one picture comes as a ZIP.
At 300 dpi an A4 page is about 2500 by 3500 pixels. Pages bigger than what a browser can draw at once (about 16 million pixels) are drawn a little smaller.
Made with pdf.js 6.5 by Mozilla (Apache 2.0 licence, as served) and fflate 0.8.3 for the ZIP (MIT, as served).
How it works
Each picture gets its own page, centred inside the margins, in the order of the list. Choose A4 or US Letter pages (turned to match each picture, or all the same way), or pages exactly the size of each picture.
JPEG and PNG pictures go into the PDF as they are, without any loss; a photo taken sideways is turned the way your phone shows it. WebP, GIF and BMP pictures are first converted by your browser.
Made with pdf-lib 1.17.1 (MIT licence, as served).
How it works
pdf.js reads the letters of each page with their size and style, and everything the page draws: pictures, lines, plots. From that DocTools works out the page:
- Columns: a band of white space running down the page between two blocks of text lines that start at the same place. The left column is read top to bottom, then the next; a title, an abstract or a wide figure across the columns stays where it is. A page without such a clear band is read as one column.
- Tables: first those with drawn lines, cell by cell (two cells become one only where the line between them is missing); then tables with only horizontal rules, as scientific papers draw them; last, cautiously, text lined up in at least three rows with the same gaps between its parts. Formulas, lists and numbered program lines are left as text.
- Paragraphs and headings: lines are joined into paragraphs, bigger text becomes headings (the biggest size is heading 1), bold and italic are kept.
- Pictures, and plots drawn with lines, are cut out of the page as pdf.js draws them and placed where they stand.
docx then writes the Word file. A scanned PDF holds only pictures of its pages: the Word file then has those pictures, without text (no text recognition).
Made with pdf.js 6.5 by Mozilla (Apache 2.0 licence, as served) and docx 9.15 by Dolan Miu (MIT, as served).
How it works
mammoth reads the Word file and keeps its structure: headings, paragraphs, lists, tables, pictures and links. DocTools then sets this on PDF pages with pdf-lib, in the Liberation Sans font (Latin, Greek and Cyrillic letters). The result is a clean, readable PDF with selectable text, not a copy of how Word shows the document; for that, Word itself (File, Save as PDF) is the best tool.
Made with mammoth 1.13 by Michael Williamson (BSD 2-Clause licence, as served), pdf-lib 1.17.1 (MIT, as served) with fontkit 1.1.1 by Devon Govett and Andrew Dillon (MIT), and the Liberation Sans font (SIL Open Font License, as served).
How it works
pdf.js reads the letters of each page; DocTools puts them back into lines in the order the PDF stores them, with a blank line where the gap between two lines is bigger than usual. The file is UTF-8, so every language comes through.
A scanned PDF holds pictures of pages, not text: then there is nothing to read (recognising text in pictures is not part of DocTools yet).
Made with pdf.js 6.5 by Mozilla (Apache 2.0 licence, as served) and fflate 0.8.3 for the ZIP (MIT, as served).
How it works
The text is set line by line with margins of 2 cm; long lines are broken at spaces to fit the page, and a form feed character starts a new page. Liberation Sans has Latin, Greek and Cyrillic letters; Courier gives every letter the same width (good for code and tables made of spaces) but only has Western letters, so a text with others is set in Liberation Sans.
The file can be UTF-8, UTF-16 or an older Windows encoding: DocTools works out which.
Made with pdf-lib 1.17.1 (MIT, as served) with fontkit 1.1.1 by Devon Govett and Andrew Dillon (MIT) and the Liberation Sans font (SIL Open Font License, as served).