PDFMango
PDFMango: merge, reorder, rotate and compress PDFs. Your files never leave your device.

About PDFMango

PDFMango is a free PDF tool that runs entirely in your browser. It merges PDFs, puts pages in the right order, turns pages that are the wrong way round, deletes the ones you don't need, turns JPG and PNG photos, Word documents and text files into PDF pages, straightens, splits and crops scanned pages and photographed books, saves pages as pictures, and makes big files small enough to email. Your files never leave your device: there is no upload, no account and nothing stored.

Open PDFMango

Why PDFMango

I often need to do simple things with PDFs: put the pages in the right order, turn a page that is the wrong way round, join two documents, or make a large file small enough to send by email. Every time I looked for a tool for this, I ended up with something full of ads, cluttered with features I did not need, wanting me to upload my documents to someone else's server, or working on only one platform. I could not find one that I felt was reliable, safe, modern and simple, all at the same time.

So I decided to have one built. PDFMango brings together well-established open-source PDF libraries, and I used Claude AI to design and develop it. Your files never leave your device; all the work happens inside your browser. There are no ads, no sign-ups and no clutter, and it works the same way on Windows, Mac, Linux, Android and iPhone.

PDFMango is completely open source. The full source code is on GitHub, free for anyone to use, learn from, improve and benefit from.

— Venkatarangan Thirumalai

How to use

  1. Drop PDFs, JPG/PNG photos, Word (.docx) or text (.txt) files onto the page, or press Choose files.
  2. Drag pages into the order you want (on a phone, press and hold a page, then drag).
  3. Select pages to rotate or delete them; with nothing selected, the toolbar acts on every page. Arrange selects all, odd or even pages, duplicates pages, inserts a blank page and reverses the order. Page tools has Straighten, Crop, Clean pages and Split book spreads. On a phone, both are in More, in sections.
  4. To fix a crooked scan, choose Straighten in Page tools, or open one page (double-click or double-tap it) and press Straighten. Text stays selectable. The Fine rotate slider in the same view turns the page by hand.
  5. For a photo of a sheet taken at an angle, open the photo and press Straighten photo. PDFMango places the four corners on the edges of the sheet; drag any that are off (on a phone, a magnifier shows under your finger), then press Apply.
  6. For a scanned book with two pages on each scan, choose Split book spreads in Page tools. Pages marked Check split can be reviewed afterwards: drag the line onto the spine, or choose Don't split this page. To split one page by hand, open it and press Split into two pages.
  7. To keep only part of a page, open it and press Crop, then drag the corners or edges, or press Auto. To crop several pages the same way, select them and choose Crop selected in Page tools.
  8. To clean up an old scan or photo, choose Clean pages in Page tools, or open one page and press Clean. Pick Grayscale, Black and white or Keep colour, check the before and after, then press Apply. Pages that are text, not scans, are skipped.
  9. Press Save all pages and pick a compression level: Lossless keeps everything, Balanced and Strong shrink photos, Scan makes the smallest file.
  10. Press Preview & Share to check the result, then Download it or Share it to another app. Direct Download skips the check.
  11. To save pages as pictures, choose Images at the top of the same window. Phones can share up to 10 images at a time; on a computer they download as one ZIP.
  12. To save only some pages, select them: a bar appears with Extract as PDF and Extract as images. The main button always saves every page.

Signing and comments: PDFMango leaves these out on purpose. Since August 2026, Google Chrome on Windows, Mac and Linux can sign and annotate PDFs itself, so open your PDF there.

Word and text files

Word (.docx) and text (.txt) files are turned into A4 pages on your device, so you can merge them with PDFs and photos. Headings, bold and italic, lists, tables and pictures come across; Word's exact fonts, headers, footers, page numbers and text boxes do not, and page breaks can fall in different places. Text stays selectable, though in Tamil and Hindi a vowel sign written before its letter (as in கொ or कि) may copy out of order. For an exact copy, save the file as PDF from Word.

Besides English, they can be in Chinese, Japanese and Korean, the main Indian languages (Tamil, Hindi, Marathi, Telugu, Kannada, Malayalam, Bengali, Gujarati, Punjabi and Odia) and Arabic or Urdu. Other languages aren't supported yet: to keep downloads small, PDFMango fetches a language's font only the first time a file needs it. Older Word files (.doc) need to be saved as .docx first.

How cleanup works

Clean pages uses the classic method of tools such as ScanTailor, written in TypeScript and run on your device. It uses no AI model and no extra library. It finds the paper, estimates the paper colour and lighting at low resolution, and divides the page by it, so the paper turns white and the light is even. Levels then darken the text. For black and white, Sauvola's local threshold picks the ink. Photos inside a page are found and kept in grayscale.

Scans are drawn at their own resolution (150 to 300 dpi). Black and white pages are stored as 1-bit CCITT G4, so they are small. The original page's hidden search text is placed under the cleaned picture, so search and copy still work. Libraries such as OpenCV.js or ImageMagick in WebAssembly would add 11 to 16 MB to the download, and AI cleanup models run only in Python and weigh about 180 MB, so PDFMango does not use them.

Privacy and analytics

PDFMango uses Google Analytics to count anonymous visits to the live site. Nothing about your files (their names, contents, pages or sizes) is ever collected or sent anywhere; your PDFs, images, Word and text files are processed entirely inside your browser. Analytics runs only on the live site (never while testing locally), waits until the app has fully loaded, and skips itself automatically if you are offline or your browser sends a Do Not Track or Global Privacy Control signal. Google sets its own first-party cookies to measure traffic; see Google's privacy policy for details. PDFMango's full source is open on GitHub.

PDFMango sets no cookies. If you change its Settings, only those choices are saved in your browser (Reset removes them); nothing about your files is ever stored. To work offline, your browser keeps a copy of the app's own code and any language fonts it has fetched, never your files. When you turn a phone photo into a page, PDFMango also removes the photo's hidden details, such as its GPS location, without touching the picture itself.

Disclaimer

PDFMango is a free tool, built with AI assistance on open-source libraries, and is provided as is, without warranty of any kind. Always keep a copy of your original files. All names, logos and trademarks belong to their respective owners.

Open source

The complete source code is on GitHub at github.com/venkatarangan/pdfmango, under the GNU Affero General Public License v3.0.

PDFMango is built on:

The mangoidiots name and logo are Venkatarangan Thirumalai's own branding.

Built with AI

PDFMango was generated with Claude Opus 5.5, Anthropic's AI model, working in Claude Code. Venkatarangan Thirumalai wrote the specification and made the product decisions; Claude designed and wrote the code, the tests and this documentation, tested the PDF engine before building on it, and checked its work with automated tests on desktop and phone layouts.

Everything is open: the original plan, the prompts used to build it, the engine spike findings and the requests for later versions are in the source repository, so anyone can see exactly how it was made.

Books by the author

If you enjoy PDFMango, you may also like the books Venkatarangan Thirumalai has written: