Filozy

Guide

Converting a PDF to greyscale without growing the file

Greyscale conversion rewrites colour values to a single luminance channel. Text and vector art convert losslessly, but a tightly compressed colour scan must be decoded and re-encoded, which can leave the file larger than it started.

Tools used: Grayscale PDFCompress PDFEdit PDF metadata

Converting a document to greyscale is usually done for one of two reasons: to cut printing costs, or to shrink the file. It reliably achieves the first. It achieves the second most of the time, and understanding the exception saves you from shipping a larger file than you started with.

What colour actually is inside a PDF

A PDF does not store “blue”. It stores a number, and a colour space that says how to interpret it.

Converting to greyscale means rewriting every colour value into DeviceGray. The standard conversion is a luminance calculation: green contributes most to perceived brightness, red less, blue least. That weighting is why a well-converted greyscale image looks natural rather than flat.

Text and vectors convert for free

Here is the good news, and it covers most documents.

Text in a PDF is a set of vector glyph outlines with a colour value attached. Convert that value and the outlines are untouched. The text stays exactly as sharp as it was, at any zoom, and stays selectable and searchable.

Vector graphics behave identically. A chart drawn as lines and filled shapes converts perfectly — the geometry is unchanged, only the fill colours are rewritten.

So a text-heavy document with vector charts converts losslessly and gets slightly smaller. Grayscale PDF removes colour while preserving text and vector content where possible, and reports what it had to re-encode.

Images are where it gets expensive

An image is different in kind. It has no geometry to preserve — it is a compressed block of pixel data.

To convert it, the tool must:

  1. Decode the compressed image back to pixels
  2. Convert each pixel to a single grey value
  3. Re-encode the result

Step three is the problem. The new compression is a fresh lossy pass over an image that has already paid that cost once, and there is no guarantee it lands smaller than the original.

A tightly compressed colour scan is the classic case that grows. If the original was encoded at aggressive settings, the re-encode often cannot match that efficiency, and a file that was 4 MB comes back at 5 MB — now also slightly degraded.

This is why the tool warns when a tightly compressed scan can grow rather than silently producing a worse file. Compare the byte counts and keep the smaller one.

When it saves real money

The print-cost case is the strongest reason to do this, and it works because of how printers count.

Most office devices and print shops bill colour pages at several times the mono rate. Crucially, many count a page as colour if it contains any non-grey value — a pale tint behind a table header, a coloured hyperlink, a logo in the footer.

So a fifty-page report that is visually monochrome can be billed as fifty colour pages because of a blue heading style nobody thought about. Converting the whole document removes most of that ambiguity, but not always all of it: spot inks such as Pantone colours, some gradients, JPEG 2000 and CMYK JPEG images, very large JPEGs and small inline images are left in colour and listed in the result. Converted JPEGs also keep an RGB label even though their pixels are grey.

For a print run of any size, that is the difference that pays for the effort.

Greyscale is not black and white

These get conflated and they are not close.

Bilevel is right for a scan of typed text and nothing else. For any document with an image in it, greyscale is the choice that still looks like a document afterwards.

What you lose that you might need

Be deliberate about this before converting, because it cannot be undone from the converted file:

Keep the original. The conversion is one-directional; the colour values are gone from the new file and no tool recovers them.

The right order when you also want it smaller

If the goal is a smaller file, sequence matters:

  1. Convert to greyscale first, and check whether the file grew.
  2. Then run Compress PDF over the result.

Compressing first and converting second means the images are re-encoded twice, paying the lossy cost on both passes for no benefit. One re-encode is unavoidable; two is waste, and it shows.

If greyscale conversion made the file larger and print cost is not your concern, discard it and compress the colour original instead.

Before you send it

Questions people ask

Why did my PDF get bigger after converting to greyscale?

Because the images had to be re-encoded. A greyscale image stores one channel instead of three, so it ought to be smaller — but a JPEG inside the document must be decoded to pixels, converted, and compressed again, and the new compression may be less efficient than the original. A scan that was already tightly compressed at low quality frequently grows. Convert, compare the byte count, and keep whichever file is smaller.

Is greyscale the same as black and white?

No, and the difference is large. Greyscale keeps 256 levels of grey, so photographs and shading survive. Black and white, sometimes called bilevel or 1-bit, allows only pure black and pure white, which makes text extremely small but turns photographs into harsh dithered patterns. Greyscale is the safe choice for any document containing images.

Does greyscale conversion make text look worse?

No. Text is drawn as vector glyphs with a colour value attached, so converting it changes only that value. The shapes are untouched and stay perfectly sharp at any zoom. The same applies to vector charts and line art.

Will a greyscale PDF definitely print cheaper?

Only if the printer's accounting agrees it contains no colour. Many devices count a page as colour whenever any non-grey value appears on it, including a nearly white tint behind a table. Converting the whole document removes most of that ambiguity, but not always all of it: spot inks such as Pantone colours, some gradients, JPEG 2000 and CMYK JPEG images, very large JPEGs and small images stored inside the page's drawing instructions are left in colour and listed in the result. Converted JPEGs also keep an RGB label even though their pixels are grey, so a checker that looks for RGB images can still flag them.

Related guides