Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
3

Delete all comments on a PDF at once

New Here ,
May 10, 2019 May 10, 2019

I would like to add comments on a PDF for team use and proofing.

When the PDF is final, I would like the option to delete all comments on all pages and save as a final version for client, without the client seeing any of the comments.

319.4K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
1 ACCEPTED SOLUTION
Community Expert ,
May 10, 2019 May 10, 2019

Not with one click but with just a few clicks: When you look at the list of comments, go to the last one and select it, then scroll up to the first one, hold down the shift key and select the first comment. This should select all comments. You can now delete them by right-clicking on one and selecting "Delete" from the menu. This should also work by selecting the first comment first, holding down the shift key and selecting the last comment, but I've had better luck with the process I described first.

You can also use the "PDF Optimizer" by saving the document as an optimized PDF (only possible in Acrobat Pro). Then from the different options you can select, make sure that only "Discard User Data>Discard all comments, form and multimedia" is selected  (otherwise, more information may be removed from your document).

View solution in original post

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 10, 2019 May 10, 2019

Not with one click but with just a few clicks: When you look at the list of comments, go to the last one and select it, then scroll up to the first one, hold down the shift key and select the first comment. This should select all comments. You can now delete them by right-clicking on one and selecting "Delete" from the menu. This should also work by selecting the first comment first, holding down the shift key and selecting the last comment, but I've had better luck with the process I described first.

You can also use the "PDF Optimizer" by saving the document as an optimized PDF (only possible in Acrobat Pro). Then from the different options you can select, make sure that only "Discard User Data>Discard all comments, form and multimedia" is selected  (otherwise, more information may be removed from your document).

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jul 23, 2020 Jul 23, 2020

Thank you sir!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 14, 2021 Apr 14, 2021

Yes this helped! Thank you!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 07, 2022 Nov 07, 2022

Bless you! 

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 15, 2023 Nov 15, 2023

thank you

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
People's Champ ,
Nov 15, 2023 Nov 15, 2023

And to reduce this process by a click, select any of the comments in the Comments panel, use Select All (Control +A / Command +A), and then click delete, or even the Delete Key on your keyboard.

 

Easier than writing a script!

 

|    Bevi Chagnon   |  Designer, Trainer, & Technologist for Accessible Documents |
|    PubCom |    Classes & Books for Accessible InDesign, PDFs & MS Office |
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Sep 26, 2024 Sep 26, 2024

Select All doesn't work. You have to select the range using the shift key.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 03, 2024 Jan 03, 2024

Any reason this function might not work? My document is new and unlocked.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 14, 2024 Jan 14, 2024

THANK YOU SO MUCH!!!!! 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 19, 2024 Dec 19, 2024

Thank you sir, you just made my life easier. 

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 01, 2025 Feb 01, 2025

This did not work at all for me.

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 17, 2025 Apr 17, 2025
LATEST

When I try this Acrobate crashes.

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 10, 2019 May 10, 2019

It can also be done using a single click by creating a script that does it, assigning it to a toolbar button and then adding that button to the toolbar.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 17, 2019 May 17, 2019

How can I create the script?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 18, 2019 May 18, 2019

That is a bit more complicated, especially the part where it adds a new menu item. It also requires installing the script file into a specific folder on the local machine.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 18, 2019 May 18, 2019

Why not use the script as a custom command and add it to the Quick Tools?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 18, 2019 May 18, 2019

Sure, that's possible too... The basic code is not that complicated:

this.syncAnnotScan();

var annots = this.getAnnots();

if (annots!=null) {

    for (var i=annots.length-1; i>=0; i--) {

        annots.destroy();

    }

}

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 19, 2019 May 19, 2019

Thank you!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 20, 2019 May 20, 2019

I really like this solution - thank you. I'm just looking into making the button stay on the toolbar for all of my documents now.

Thank you

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 16, 2020 Apr 16, 2020

This does not work on the ipad app only desktop is there a trick to make it work on ipad app?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 16, 2020 Apr 16, 2020

You can add  the action button with the script in your PDF.

 

It works in my mobile app but I use Android.

 

You need to do this using Adobe Acrobat Pro DC in your desktop, but don't create an action, create an action button and run it directly from within the document in your mobile app.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 16, 2020 Apr 16, 2020

If interested, here is an interesting document that was shared in another thread:

 

https://community.adobe.com/t5/acrobat-reader/pdf-fillable-problem-with-mobile-devices/m-p/11055125?... 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 08, 2022 Dec 08, 2022

This code doesn't seem right, I think you'd need to still delete one by one:

this.syncAnnotScan();
var annots = this.getAnnots();
if (annots!=null) {
    for (var i=annots.length-1; i>=0; i--) {
        var annot = annots[i]
        annot.destroy();
    }

}

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 08, 2022 Dec 08, 2022

Are you basing that on anything, or it's just a hunch? Because this code will delete all the comments in the file, possibly unless they are set as read-only or locked.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines