DarkenMyPDF

How to make PDF text darker

Updated 6 min read

In a digital PDF, text is a set of drawing instructions: use this font, at this size, in this colour. Making it darker means changing the colour instruction.

In a scanned PDF there is no text at all, only pixels, and making it darker means re-toning an image. Tools that treat both cases the same way tend to damage the first one.

The problem with rasterising everything

The simplest way to darken any PDF is to render every page to a bitmap, adjust the pixels and write the bitmaps back. It works on everything, which is why so many tools do it.

It also costs you a great deal: text stops being text, so it is no longer selectable or searchable, it goes soft when zoomed, screen readers can no longer read it, and the file often grows several times larger.

For a page that was genuinely a scan, none of that matters — it was already an image. For a page of real text, all of it matters.

Darkening digital text without rasterising it

A PDF page stores its content as a stream of operators. Colour is set by specific instructions — a grey value, an RGB triple, a CMYK quadruple — and every subsequent drawing operation uses the colour most recently set.

So a page can be darkened by rewriting those colour operators and leaving everything else byte-for-byte identical. A 55% grey becomes near-black; a light grey background rectangle becomes white; a coloured logo is darkened more gently so it keeps its hue. The glyphs, fonts, positions, links and structure are untouched.

The result is a page that prints darker and is still, in every other respect, the document you started with.

When the text is already black

Sometimes zooming in shows genuinely black text that still prints faint. Then the problem is not colour but weight: a hairline font lays down very little toner, and screen anti-aliasing has been quietly thickening it for you all along.

The fix is to outline the glyphs — draw each character with a stroke as well as a fill, so every stroke gains a fraction of a point of width. That is what the Thicken thin text option does, and it is the only thing that helps in this case, because there is no darker colour than black to move to.

Keep it subtle. Too much outlining fills in the counters of small letters and makes 8pt text look like a smudge.

What about the scanned case?

There, darkening the text means separating ink from paper across the whole image: estimate the paper level locally, normalise the lighting, then map the measured ink towards black. Making a scanned PDF darker covers that path in detail.

A document can of course contain both kinds of page, which is why each page is classified and handled on its own terms rather than by one document-wide decision.

Questions

Can I change the text colour without a tool like this?

In a full PDF editor you can select text and restyle it, one block at a time. That is practical for a single heading and impractical for a 40-page report — and it does nothing for scanned pages.

Does darkening break digital signatures?

Yes. Any change to the file content invalidates a cryptographic signature, because that is precisely what such a signature is for. Do not enhance a digitally signed document you need to keep verifiable.

Will hyperlinks and bookmarks survive?

On pages kept as vector text, yes — only colour operators change. Pages that have to be rasterised lose their link annotations, since the annotation is drawn into the image.

Try it on your own file

Everything described above runs in your browser — nothing is uploaded.