Remove Hidden Layers

Strip optional-content configurations and their OCG objects so no layer can be switched on again.

FreeIn-browser processing25 MB / file200 pages

Remove Hidden Layers

Runs in your browser · files are not uploaded

Drop your file here

or click to browse · 25 MB per file

PDF accepted

Client-side processing: your file never leaves this browser tab. No upload, no server copy.

About Remove Hidden Layers

Remove Hidden Layers deletes the /OCProperties configuration from the document catalogue, the optional-content group (OCG) and ordering (OCMD) objects behind it, the /Properties entries that name them and the /OC keys on images, forms and annotations. After the run no reader can toggle a hidden layer back on, because the configuration that drives the visibility buttons is gone. Marked-content operators stay in the page streams — without /OCProperties they are plain content everywhere, so nothing visible is lost. A JSON report counts every removed entry, the reachability cleaner deletes objects that nothing references any more, and a file without optional content is refused instead of being rewritten.

How to use Remove Hidden Layers

  1. Upload the PDF with hidden layers.
  2. Run the tool — no options are needed.
  3. Download the flattened-visibility PDF and the JSON report.
  4. Every page that carried layer definitions is listed with the entries removed.

Supported formats, limits and processing

  • Input: PDF
  • Output: PDF + JSON report
  • Processing: entirely in your browser. Files are never uploaded.
  • Limits: up to 25 MB per file, 10 files per job, 200 pages. Plan limits may be higher.

Privacy and file handling

This tool uses JavaScript and WebAssembly inside your browser. Your document is read locally, the output is created locally, and no file content is transmitted to our servers. Only an anonymous usage event (tool name and status, never the filename or content) may be recorded to measure reliability.

Troubleshooting

“no hidden layers to remove”
The PDF has no /OCProperties configuration, so there is nothing to strip.
Content vanished after the run
Report it — the tool only removes configuration, never page content. Layers whose content was optional stay visible as normal content.
The layers panel still shows entries
Re-open the file; some readers cache the panel until the document is reopened.

Remove Hidden Layers FAQ

Is the layer content deleted from the page?
No. The content stays visible as normal page content — what is deleted is the optional-content configuration, so the layer can no longer be hidden or shown.
Will readers still show the layers panel?
No. Without /OCProperties there is nothing to list, which is exactly the point: no layer can be toggled again.
What if the PDF has no layers?
The tool fails with a clear message instead of rewriting an unchanged file.

Related tools

More PDF Security tools