Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I was surprised that there is no easy way to remove bookmarks from PDF.
pdftk can't do it, ghostscript same AFAIK, qpdf... and there are no other significant tools that I'm aware of

Easiest for me right now is PDF Mod GUI, which removes bookmarks one by one - user has to click on parent bookmark and press remove, so on for all top level nodes which is silly

Also I know there are probably some Java GUIs that can do it, but I don't want to load java just to remove bookmarks when I need to

I could also accept some programmatic solution, python, perl ...

share|improve this question

If you have Adobe Acrobat Pro you can remove all the bookmarks of your front PDF document using the following simple AppleScript:

tell application "Adobe Acrobat Pro"
    delete bookmarks of document 1
end tell
share|improve this answer

This worked for me:

pdf2ps mypdf.pdf

I get, I rename it to


The mypdf2.pdf file that I get has no bookmarks

Both programs come with the ghostscript package

share|improve this answer
Despite thrashing my HD, calling ghostscript twice is slower and more memory intensive then loading worse java GUI to handle the problem. It's easier to just print the PDF to another PDF as I'll at least get PDF product with text layer, unlike your example, and faster – zetah Dec 21 '11 at 0:56

Here is one easy (though not necessarily cheap) way.

  1. Use Adobe Acrobat DC (or Pro whatever version).
  2. Go here and install the Action "Remove hidden information".

This action also allows you to remove other annoying hidden information other than bookmarks (see image below). This can help reduce the file size.

Used in tandem with Adobe Acrobat's Action Wizard, you can also batch delete bookmarks from any number of PDFs.

enter image description here

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.