Instant Named PDFs and/or Images

This AppleScript exports Indesign documents to PDFs and/or Images (JPEGs and/or PNGs) with the following features!

  • Export individual pages
    Each page of the Indesign document can be exported to it’s own specially named PDF, JPEG or PNG.
  • Custom file naming
    The individual PDFs and image files can have custom names sourced from one of the following options:
    • Indesign filename & suffix-of-your-choice & page number.
    • CSV or text file (names separated by returns).
    • The content of a character style from each page.
    • The content of a paragraph style from each page.
  • Combine images into a single PDF
    You can export images and have them combined into a single PDF meaning that every page of the PDF is a rasterised image.
  • It exports files straight to the Indesign file folder
    The script knows the file path of your Indesign file and can export the files directly to it. Otherwise the script can automatically file it into a sub folder of your choice.
  • Export all documents
    You have the option to export all the Indesign documents that are currently open.
  • Remembers the settings
    Choosing the same settings as last time? Just hit return.
    For example, set up your favourite PDF export to quickly export low resolution PDFs to the Indesign document folder.

Click on the image below to see a bigger version in a new tab.


  • If you choose a CSV for the naming of the images or individual PDFs, it should only have just one column, that being the list of names and no column heading. There should be at least as many names as there are pages in the Indesign document. If you choose a text file, the list of filenames should each be on their own line.
  • Alternatively, choosing a character style or paragraph style for the naming of the exported images or individual PDFs can be useful if you have a title on each page. For example business cards or invitations may have include person’s name. Format the text in your chosen style and the script will use that text for the name of the file for that page.


  • 6 July 2017. Version R8. Fixed an error with the page range option.
  • 12 July 2017. Version R10. Added the option to export PNGs.
  • 3 November 2017. Version R12. Added the option of leading zeros for numbered pages choice.

No need for trial – download the full version with compliments
from Dr Scripto.

Free download

Donations via Paypal
Contribute to the development of future scripts by making a donation. Click on the Paypal icon below to proceed, thanks!


  1. Hello. You have written a great script. Congratulations!
    But I am trying to export each page individually and it always exports all the pages in the same pdf document. It does not create individual and separated pdf files for each page of the indesign document.
    I am working with inDesign CC 2017.
    Could you tell me how to solve this, please? Thanks a lot!

    • drscriptoJuly 6, 2017 at 1:39 pm

      Hi Luis, thanks for reporting that error. I’ve fixed the page range option in the latest version so it exports multiple single page PDFs and also the correct page range for PDFs and JPEGs if you choose that option.

  2. How do I install? Am I overlooking instructions?

  3. Hello,

    Is it possible to export interactive PDFs with this script? I’m trying to export PDFs with clickable links.


  4. Hi Kelly, if you only need hyperlinks and bookmarks you can set up a PDF preset in the Adobe PDF for print section that includes those features. That can then be used with this script. For all the other interactive features like page transitions and media, you will have to export the document manually because Indesign does not allow saved presets for interactive PDFs.

  5. Hi drscripto,

    Would it be possible to have a “Check Document Links” feature added? This would make an already great script even greater!


  6. Hi, is there a way to add single jpgs instead of single pdfs outputs as an option??


    • Yes the script already does this. Just click the checkbox in the top right hand side of the dialog box. You can save the pages as JPEGs and/or PNGs.

  7. Doctor, so much of my life has been wasted… and then I met your scripts. Keep them coming!

    I have one question on this very useful script β€” is it possible for the page numbering to appear as the prefix in the file name instead of suffix? This capability would be the cherry on top of a very large hot fudge sundae for me.


    • Hi Jotto,

      thanks for the feedback. It’s always great to hear these scripts are saving people time.

      In regards to changing the position of the page number, there could be many options for example, each filename could start with the page number or have some static text before the page number, and there could be the option of having static text after the page number but before the filename. The same could apply if the page number was put after the filename. In other words, too many options to fit in the dialog box!

      What I could do is make you a specific version for your use. For all customisations, please send me the details via the contact form here:
      I can do it for the price of a hot fudge sundae πŸ˜‰


Your email address will not be published.