If you’ve ever opened a layered print PDF in Illustrator and found everything merged into one object, you’ve hit the OCG problem. Here’s the short, non-technical version.
What is an OCG?
OCG stands for optional-content group – the PDF standard’s name for a layer. Many design and prepress tools write spot colors, cut lines, varnish and notes as separate OCGs so they can be turned on and off.
What Illustrator does with them
When Illustrator opens a PDF, it does not import OCGs as editable layers. It flattens the visible content into a single layer. The information still exists in the original file – Illustrator simply doesn’t expose it.
That’s why a viewer toggle (hide/show a layer) isn’t the same as extraction: toggling visibility never gives you separate, named files you can actually work with.
The fix
Read the OCGs directly and export each as its own PDF, then bring those into Illustrator as individual layers. That’s exactly what a dedicated extractor does – no manual rebuild required.