Account

What new tool do you want?

PDF Tools

PDF Layers Viewer & Remover

See the layers in a PDF (CAD drawings, maps, Illustrator and InDesign files), switch them on and off with a live preview, then delete hidden layers for good or save them switched off.

How to use

  1. 1Open a PDF. Its layers are listed with the ones that start switched off marked.
  2. 2Untick layers to hide them and check the preview on any page.
  3. 3Choose Delete hidden to remove their content from the file, or Keep, start hidden to only switch them off, then save.

Frequently asked questions

What is a PDF layer?

PDF calls them optional content groups: named sets of drawing that a reader can show or hide, like the dimensions, furniture and electrical plans in an architectural drawing, or the labels on a map. They're created by AutoCAD, ArcGIS, Illustrator, InDesign and similar programs.

What's the difference between deleting and hiding?

Hiding only changes which layers are visible when the file opens; the content is still in the file and anyone can turn it back on. Deleting removes the drawing instructions, images and annotations that belong to the layer, so it can't be recovered from the saved copy.

Is deleting a layer the same as redacting?

It removes the layer's drawing from the page, but text from a deleted layer can survive elsewhere, for example in bookmarks, metadata or another layer. For confidential text, use the redaction tool as well and check the result with the hidden text detector.

Why does my PDF show no layers?

Most PDFs don't have any. Layers only exist if the program that made the file exported them; printing to PDF or 'flattening' merges everything into one layer.

Sources

How deleting works

Content on a layer is wrapped in marked-content brackets in the page's drawing instructions: '/OC /MC0 BDC … EMC', where MC0 points to the layer. The tool reads each page's instructions, drops everything between the brackets for the layers you deleted (including nested brackets), removes images and drawings placed with an /OC entry, removes annotations tied to those layers, and finally removes the layers from the document's layer list.

Layers that depend on other layers

Some content is shown only when a combination of layers is on, through an 'optional content membership' rule such as 'all of A and B on'. The tool deletes that content when the rule can no longer be true with your deleted layers gone and every other layer on. Content set to appear when a deleted layer is off is kept, because that's what the file would have shown.

Example: an architectural plan for a contractor

A floor plan exported from AutoCAD has the layers Walls, Dimensions, Furniture, Electrical and Client notes. Unticking Furniture and Client notes and saving with Delete hidden produces a file with only walls, dimensions and electrical. The contractor can't switch the notes back on, because the drawing commands are gone, not just hidden.

Related tools

More: PDF Tools