Image to PDF under 200 KB
Choose your pictures, put them in order and get one PDF under 200 KB. The size is checked on the finished file.
https://flxcode.com/image-to-pdf-under-200kb/
or drop them here, or paste with Ctrl+V
JPG, PNG, WebP or HEIC, up to 30 pictures. Nothing is uploaded. Each picture becomes one A4 page.
| Bytes | |
|---|---|
| KB | |
| kB |
Your pictures never leave this device. There is no upload, no account and no watermark. How we count What this tool keeps and sends.
Problem or idea? Email us
How to use it
- Choose the pictures, or drop them. Use Up and Down to put the pages in order.
- The largest size is 200 KB for the whole PDF. Change it if your form says something else.
- Press Make one PDF. If the file comes out over the limit, the tool shrinks the budgets and tries again, up to four times.
Worked example: the budget for 200 KB
The ceiling is 200 KB with the 2% margin, 200,704 bytes. The PDF frame and each page take their part, and what is left is divided equally.
| Pictures | Overhead | Budget for each picture | Does it work? |
|---|---|---|---|
| 1 | 2,300 bytes | 198,404 bytes (193.8 KB) | fits |
| 2 | 3,100 bytes | 98,802 bytes (96.5 KB) | fits |
| 3 | 3,900 bytes | 65,601 bytes (64.1 KB) | fits |
| 4 | 4,700 bytes | 49,001 bytes (47.9 KB) | fits |
| 6 | 6,300 bytes | 32,400 bytes (31.6 KB) | fits |
| 8 | 7,900 bytes | 24,100 bytes (23.5 KB) | fits |
| 10 | 9,500 bytes | 19,120 bytes (18.7 KB) | fits |
| 16 | 14,300 bytes | 11,650 bytes (11.4 KB) | fits |
Below 3,000 bytes a picture is not worth including, so the tool stops and says how many fit.
Worked example: one A4 scan in a share
A 300 dpi A4 scan (2480 × 3508 px) in a share of the budget: The sizes in this table come from a model of JPEG size (about 0.02 plus 0.5 times quality cubed bytes per pixel), not from real files, so real photos land near these numbers and not on them.
| Pictures in the PDF | Share each | Pixels after | JPEG quality |
|---|---|---|---|
| 1 | 193.8 KB | 917 × 1298 | 0.66 |
| 2 | 96.5 KB | 647 × 916 | 0.66 |
| 4 | 47.9 KB | 456 × 645 | 0.66 |
With one picture, 923 × 1305 px is the model's answer for the whole limit.
Worked example: what a limit means in bytes
The ceiling for the whole PDF depends on how the portal counts a KB. This is the byte count in each reading and the aim.
| Limit | If KB is 1,024 bytes | If kB is 1,000 bytes | Aim (2% under, KB) |
|---|---|---|---|
| 100 KB | 102,400 bytes | 100,000 bytes | 100,352 bytes |
| 200 KB | 204,800 bytes | 200,000 bytes | 200,704 bytes |
| 300 KB | 307,200 bytes | 300,000 bytes | 301,056 bytes |
The budget table above uses the 200 KB row.
Numbers this uses
- The PDF frame takes about 1,500 bytes, and each page about 800 bytes more. The rest is split equally between the pictures.
- A picture needs at least 3,000 bytes to be worth including. Below that the tool stops and tells you how many pictures fit.
- Each picture is saved as a JPEG at the best quality that fits its share, on an A4 page with a small margin.
- Up to 30 pictures. The aim is 2% under your largest size.
How the budget is shared
The ceiling minus the PDF overhead is divided by the number of pictures. Each picture is shrunk until its JPEG fits that share. The pictures are then put in a PDF with the same library the JPG to PDF page uses, and the file size is read.
If the PDF is a little over, the budget is scaled down by the miss and the pictures are encoded again. Four rounds are tried. If none fits, the page shows the smallest PDF it made.
What the size allows
- A scanned page of text often needs 40 to 80 KB to stay readable. Two or three pages fit in 200 KB, ten pages usually do not.
- One page of white paper with black text can need only 20 KB. A photo needs more.
- Every picture gets an equal share. A busy photo next to a plain page may look weak while the plain page wastes its share.
- Pictures are saved as JPEG inside the PDF. There is no text layer, so the text cannot be selected.
What happens to your file
The file is read by your browser and processed in this tab. The page sends no request with your file, its name, its size or its pixel size. After you pick a file the only requests are anonymous usage counts with words like "target" and "under", never a name or a number from your file.
Counts of events such as "download" are kept without cookies (details). The PDF code is pdf-lib, MIT licence: open source used on this site.
Nearby tools
- Without a size limit, use JPG to PDF or PNG to PDF. For an iPhone photo, HEIC to PDF.
- To shrink a PDF you already have, use compress PDF to 200 KB.
- To join PDFs first, use merge PDF.
FAQ
How many pictures fit in 200 KB?
The table above shows the share each one gets. Counting the PDF overhead, 3 pictures get about 64 KB each and 8 get about 24 KB each. Plain, high contrast pages need less than photos.
Can I use a different size, like 100 KB or 1 MB?
Yes. Type the number and choose the unit. The tool splits whatever you type.
Why is the PDF smaller than my limit?
The tool aims 2% under the limit, and a plain picture may not use its whole share. It does not pad the PDF.
Can I change the order of the pages?
Yes. Use the Up and Down buttons next to each picture before you press the button. Remove takes a picture out.
Will it work with HEIC or WebP?
Yes. The browser opens JPG, PNG and WebP, and the page loads a decoder for HEIC when the browser has none. Everything is turned into a JPEG for the PDF.
Is the text in the PDF selectable?
No. The pages are pictures. If a form needs searchable text, use a scanner app with OCR, then compress that PDF with the PDF page.
More from FLXCode
- JPG to PDFTurn JPG photos into one PDF, one photo per page. Nothing is uploaded.
- Compress PDF to 200 KBShrink a PDF under 200 KB or a size you set, with a clear message if it cannot fit. Nothing is uploaded.
- Reduce PDF sizeReduce a PDF to a size you set, such as 2 MB or 500 KB. Nothing is uploaded.
- Compress Image to 20 KBGet a photo or signature under 20 KB, or inside a size range, at an exact pixel size. Nothing is uploaded.