FLXCode Image to PDF under 200 KB

FLXCode apps

Appearance

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.

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.

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

  1. Choose the pictures, or drop them. Use Up and Down to put the pages in order.
  2. The largest size is 200 KB for the whole PDF. Change it if your form says something else.
  3. 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.

PicturesOverheadBudget for each pictureDoes it work?
12,300 bytes198,404 bytes (193.8 KB)fits
23,100 bytes98,802 bytes (96.5 KB)fits
33,900 bytes65,601 bytes (64.1 KB)fits
44,700 bytes49,001 bytes (47.9 KB)fits
66,300 bytes32,400 bytes (31.6 KB)fits
87,900 bytes24,100 bytes (23.5 KB)fits
109,500 bytes19,120 bytes (18.7 KB)fits
1614,300 bytes11,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 PDFShare eachPixels afterJPEG quality
1193.8 KB917 × 12980.66
296.5 KB647 × 9160.66
447.9 KB456 × 6450.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.

LimitIf KB is 1,024 bytesIf kB is 1,000 bytesAim (2% under, KB)
100 KB102,400 bytes100,000 bytes100,352 bytes
200 KB204,800 bytes200,000 bytes200,704 bytes
300 KB307,200 bytes300,000 bytes301,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

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.

Share Image to PDF under 200 KB