Does converting a PDF to grayscale make it smaller? We measured: the colour was 3% of the file

2026-10-16
8 min read

The common advice goes like this: if a PDF is too heavy, convert it to black and white, because colour takes up space. It sounds reasonable. A colour pixel is described by three values and a gray one by a single value, so a gray file ought to be about a third of the size. We run a grayscale tool on this site, so instead of repeating the advice we measured it. The result was more interesting than the advice, and in one case the opposite of it.

The test

We built three PDFs that cover the documents people usually try to convert, and put each one through our grayscale tool at its three quality levels, in an ordinary browser, exactly as a visitor would:

  • A text report: eight A4 pages of black text with headings, saved directly from a document program. 17,522 bytes.
  • A report with colour charts: eight pages with a teal header band, paragraphs of text and a bar chart in blue, orange, green and red on every page, all drawn as vector graphics. 14,708 bytes.
  • A colour scan: four A4 pages captured as colour images at 200 DPI on slightly yellow paper, with a blue stamp and a blue-ink signature. 2,842,422 bytes, which is typical of what a scanner app or a phone produces.

Then we ran a control. We took the same rendering step and the same JPEG settings the tool uses and saved every page twice: once with the gray conversion and once without it. The difference between those two numbers is what removing the colour is actually worth, separated from everything else the conversion does.

What came out

The scan behaved the way the advice predicts. At the low setting it went from 2.84 MB to 190 KB, 93 percent smaller. At the medium setting it came out at 603 KB, 79 percent smaller. At the high setting it barely moved: 2.75 MB, only 3 percent smaller.

The text report did the opposite. The 17.5 KB file became 818 KB at low quality, 2.08 MB at medium and 6.89 MB at high. That is 47, 119 and 393 times larger than the original. The chart report followed the same pattern, growing from 14.7 KB to 543 KB, 1.32 MB and 4.32 MB.

And the control explains both results. For the text report, removing colour saved exactly nothing, because the pages were already black and white. For the chart report it saved between 2.4 and 3.0 percent. For the scan it saved between 1.5 and 2.6 percent. At the medium setting the scan came out at 613 KB with its colour and 601 KB without it. The 79 percent reduction was real, but 77 of those points came from something other than the colour.

Where the size actually goes

A grayscale conversion in a browser cannot change the colours of a PDF in place. It draws each page as a picture, turns the picture gray, saves it as a JPEG and builds a new PDF out of those pictures. Our tool draws the page at about 72, 108 or 216 dots per inch depending on the quality setting. At the medium setting an A4 page becomes an image 892 by 1262 pixels.

That is the step that decides the size, and it cuts both ways. A 200 DPI scan rendered again at 108 DPI loses more than two thirds of its pixels, and fewer pixels means a much smaller file. A text page, on the other hand, was never made of pixels. In a normal PDF a line of text is stored as a short instruction, roughly "draw these characters in this font at this position", plus a font that is shared by every page. Eight pages of it fit in 17 KB. Replace that with eight photographs of the same pages and the file has to store every pixel of every letter, which is why it grew by two orders of magnitude.

The high setting shows the same effect from the other side. It renders at about 216 DPI, which is slightly more than the 200 DPI the scan was captured at. There were no pixels to drop, so the file stayed almost the same size, and nothing was gained in sharpness either, because detail the scanner never captured cannot be recovered by drawing it larger.

Why the colour is worth so little

The idea that colour triples the size comes from uncompressed images. JPEG does not store red, green and blue separately. It first converts each pixel to one brightness value and two colour-difference values, and it then stores the colour-difference values at a quarter of the resolution, because the eye is far less sensitive to them. Most of the bytes in a JPEG describe brightness, and brightness is exactly what a grayscale version keeps. On a page of dark text on light paper the colour channels are almost flat and compress to almost nothing anyway, so taking them away saves almost nothing.

There is a second detail we did not expect. The JPEGs our tool writes still have three channels, and the PDF labels them as RGB images that happen to be gray. That is a limitation of how browsers save images from a canvas, not a choice. It matters little for viewing, but a print shop or a submission portal that decides whether a file is colour by reading its declared colour space, rather than by looking at the pixels, may still treat it as colour.

What you lose in the conversion

Because every page becomes a picture, the text stops being text. We checked with the same PDF reading library the site uses: the original report contained 352 pieces of text, the converted one contained none. Searching inside the document, selecting and copying a sentence, and reading it with a screen reader all stop working, and you would need OCR to get any of it back. Links and form fields disappear for the same reason. Small type also picks up JPEG blur around the edges of the letters, which is most visible at the low setting.

Charts lose something more subtle. The tool converts each colour to gray using its brightness, and our four chart colours were close in brightness: red came out at 36 percent, blue at 40 percent, green at 44 percent and orange at 56 percent. Red and blue bars that were obvious in colour end up as two nearly identical grays, and a legend that says "red is 2025, blue is 2026" no longer helps anyone. If your charts must survive black-and-white printing, they need patterns, labels on the bars or colours chosen to differ in brightness, not only in hue.

What to do instead, depending on why you wanted gray

To print more cheaply

Leave the file alone and choose grayscale or black only in the print dialog. The printer driver produces exactly the gray output you want, the PDF keeps its text and colour for everyone else, and there is no larger file to deal with. If you are sending the file to a print shop that bills colour pages, ask them how they decide what counts as colour before you convert anything, for the reason described above.

To make a file smaller

Work out first what kind of file it is. If it is mostly text, do not convert it to grayscale under any setting; use lossless compression, which removes waste without turning the text into images. If it is a scan or a set of photos, the saving comes from the resolution, so you can get almost all of it while keeping the colour by using compression, which matters when a blue signature or a coloured stamp is what makes the document recognisable as an original. The grayscale tool is a reasonable shortcut only when you want the scan to look monochrome as well as weigh less.

To meet a "black and white only" rule

Some courts, journals and archives require monochrome documents. If the rule is about how the pages look, the grayscale tool satisfies it. If the portal checks the file technically, the RGB label may cause a rejection even though every pixel is gray, and the reliable route is to export a grayscale PDF from the program that created the document. Either way, run the conversion on a copy and keep the original with its text intact.

A short checklist

  1. Ask why you want gray: printing, size or a rule. The answer changes the method.
  2. For printing, use the grayscale option in the print dialog and keep the PDF as it is.
  3. Open the PDF and try selecting a sentence. If you can, it has a text layer, and grayscale conversion will make it bigger and unsearchable.
  4. For scans, try compression first and compare. Most of the saving is the same, and the colour stays.
  5. If you do convert, use the low or medium setting on scans; the high setting saves almost nothing on a 200 DPI scan.
  6. Look at every chart in the result and check that the series can still be told apart.
  7. Keep the original. The conversion cannot be undone.

Convert a PDF to grayscale in your browser. The file is never uploaded.

Convert to grayscale