Thanks for coming to, the world's #1 resource for all things InDesign!

Page Exporter Utility Still Going Strong in 2018!

A number of people swear by the free Page Exporter Utility for exporting InDesign documents as individual PDF, JPEG, EPS, or Postscript pages (or outputting multiple PDF files as a batch process). The bad news is that it hasn’t always been easy to find a copy of it on the Web. The good news is that the script’s author, Scott Zanelli, long ago consented for us to post the newest version (at the time) here. The even better news is that it is still working hard in the latest version of InDesign (2018).

You can download Page Exporter Utility here:

click to download

The Page Exporter Utility offers a number of options for exporting your files. For example, you can export each spread as an individual PDF file, specifying custom naming and so on:
PEU Script export options

There is also a “versioning” option that lets you create a number of different PDFs from different layer combinations. For example, lets say you have one Base layer and three language layers. You would want three different PDF files: English+Base, French+Base, and so on.
PEU Script versioning options

PEU is clever, it’s super fast, and it has a darn good price (free). If you’re a scripter, you can customize the script (Scott has released it under the GNU General Public License) and it even comes with a user manual.

We are refreshing our oldest and most popular posts with updated information and screenshots. This post on the Page Exporter Utility was originally published September 4, 2007. For the most current comments scroll to the bottom of the page.

David Blatner

David Blatner

David Blatner is the co-founder of the Creative Publishing Network, InDesign Magazine, and the author or co-author of 15 books, including Real World InDesign. His InDesign videos at are among the most watched InDesign training in the world. You can find more about David at
David Blatner

Latest posts by David Blatner (see all)

  • - November 30, -0001
Related Articles

158 Comments on “Page Exporter Utility Still Going Strong in 2018!

  1. Perhaps MJ doesn’t really have a “3-page spread” but one large page instead. In that case, PEU cannot help, as it doesn’t split a single page into separate ones.

  2. Brilliant script! :)

    May i wish an invert selection tool? (select / deselect all)

    When you have 13 markets (1 layer per market, for example se, no, dk, fi, fr, uk, us, eu, etc), and just want to quickly re-export the fr-layer (not all the other layers) it would be neat with a select/deselect all option.

    Besides of that its brilliant – and thanks!

    Best regards,


      • It is “working” for me in CC 2015, however, it didn’t export all the pages in my document and not all the pages followed my section name. I thought maybe I needed to check “export as spreads,” but this gave me an error.

        It also need PNG export. I could possibly modify the script to allow for PNG, but debugging is not my strength, especially when the bugs aren’t in something I’ve written, or is an incompatibility in an API that I’m not familiar with.

  3. Pingback: Breaking up is hard to do? InDesign files into individual PDFs that is! | Colecandoo!

  4. Is there a way for when it exports as pdf’s you can include the bleeds/slug and crops?
    Thanks this would be so helpful!!!!

  5. I’m using CC2014 on a Mac (Yosemite OS) and I can’t change the preferences file (none showing on my computer but indicated in the instruction PDF) so I can’t folio the pages P001, P024 or P120 automatically. I have to manually type it in after the PDF is saved onto my desktop. Any advice?

    • To access the preferences, click the ‘Change Preferences’ radio button on the far-right column under ‘Output Format’. This will launch the Change Preference dialogue box. Any changes made here will be apply to any future exports.

    • You will have to select a PDF preset that includes bleeds. From the Menu bar, select File > Adobe PDF Presets > Define. Once this has been saved with your custom bleed specs, you can select it from the pull-down menu in the PEU’s PDF Options dialogue box.

      • Thank you so much for your quick response and fabulous script!!! This is such a time savor! Thank you thank you!!

  6. I have video stuff embedded in ID CS6 – unfortunately it exports the pdf without video, because the export “interactive” isn’t available. Any idea?

  7. Well I’m pleased to know that for print, this script is still working in CC 2015, just in case anyone was wondering about compatibility. I ran it on the old CS6 machine and it too seems to have no problems with the script. Thank you, you’ve just saved one of my clients a bucketload of time.

  8. Is there anyway we can amend the script so that it saves a file as FILENAME_P01_LAYER instead of using periods? It current shows as FILENAME.P01.LAYER ?

  9. Is there anyway we can amend the script so that it saves a file as FILENAME_P01_LAYER instead of using periods? It current shows as FILENAME.P01.LAYER ?

  10. WOW ! I am doing tons of multi-language work where i have a base artwork layer and 15 up to 30 language layers containing text. This works like a charm exporting each language layer on top of the artwork layer in separate PDFs. Huge thanks!

  11. Why don’t you just make a new page and copy the page to the new blank document? (or pages to their own new documents)
    Then you can save/print the single page without having to download anything.

  12. I’ve been using this script for awhile but when I went to Creative Cloud the script started adding a “.P” and I’m not sure why.


    I want the name to be TTH_.193 (193 is the page number).

    I can’t get the script to not add that annoying “.P” before my page number. Any suggestions?

  13. I have a two-page document (front/back) that is versioned out on separate layers. Is there a way that I can save out the layers as separate 2 page PDFs? I keep having to open and combine each PDF and resave which is timely. Thanks!

  14. My problem is that the file names that my client wants do not conform to a regular pattern. Instead they are supplied in database. Does anyone know of a way to pull file names from a data base when merging and then have those file names be the names of the individual page PDFs that are generated? In other words, I would merge the database and have a hidden field that would have the file name on each page of the InDesign doc. Then when the PDF is created, the file name each individual PDF page would be pulled from the hidden field on that page as the script made the individual page PDFs.

      • Unfortunately I have not found a workaround (other than manually typing all these file names.) I’d have much love for anyone who could figure out how to write a script to do this.

      • hi tony,
        i have found somewhat of a workaround. if you have the CC version of Acrobat this will work. send me your email address if you need screenshots to illustrate each step.
        1) if you use style sheets you can go in and tag your style with a bookmark. lets say this is a product name on each page.
        2) you then generate a TOC in inDesign with the bookmarked style. place the TOC on the pasteboard.
        3) save your multipage inDesign file as a pdf and check include bookmarks.
        4) open the PDF in Acrobat and you should see the page icons, the bookmark and the link icons to the left. you can click on the bookmark icon to view them, make sure they are correct.
        5) click on the organize pages icon from the right. you will have to select your output options and set your target folder and check the box that says use bookmark names for filenames.
        6) select all your pages and then say split multiple files, select the pdf that comes up and it will generate individual pages with your designated name.

        now my server requires no spaces between words in the filename so i use a utility called better finder rename to delete the spaces and replace them with underscores. this eliminates typing or copying and pasting filenames!

        my problem is i want acrobat to pick up 2 top level bookmarks and combine them in the filename. like a sku number and a product name.

      • Hi Michelle,
        This is soooooo close! The problem I’m having is that the the “Use bookmark names for file names” is grayed out and I can’t select it. There are no spaces or strange characters in the bookmark/file names and they are not very long. Do you have any idea why it would be grayed out? Except for this glitch, this looks like a great solution! Thank you! Sending lots of love your way!

        As for your problem, I’m guessing that you have already explored this but here’s what I would suggest. If you bring your database into Excel, there is a way to concatenate cells (you’ll need to look this up as I’ve forgotten exactly how it’s done). So if you took your SKUs and Products columns and combined (concatenate) them in to a new column (Call it SKUPs), you could create a SKUPs merge field on a hidden layer in InDesign which would have it’s unique paragraph style. Then do your process and that would name your file the way you want it.

      • this is what gave me my clue.

        you have to make sure that you generate that automatic TOC from your styles and leave it on the pasteboard BEFORE you export your pdf and when you export that pdf make sure you save with bookmarks. its in the main dialog box down at the bottom under include.

        you’ll know if you did it right because the bookmark icon will automatically show up at the left in acrobat.

        hopefully this helps. if that’s not quite it still send me your email and i can attach a couple of screenshots. i had this problem too but i’d have to recreate the problem :)

        and thank you for your reminder to use concatenate. i haven’t used that for awhile. i think i can also use GREP to do this, but i was hoping to do all of this using paragraph styles and a script where i tell inDesign to pick up SKU number and then product name and create a individual page pdf with this info.

        all this is fine moving forward i can easily work this into my process, but my dilemma is trying to go backwards several years and deliver thousands of pdfs for previous projects and of course with no budget…

  15. I was wondering if someone could help me with this. I love this script, especially for versioning, but I need an option for PNG file format. Is there someone who could help me out?

  16. For everybody who looks information how to export without file name and date with time stamp in crop area – there is soution:
    In script -> find (I have it on line 1321)

    function usePgInfoTag(theUnits, docWidth){
    var usePgInfo = true;

    and overwrite “true” to false”
    Try it. For me it works

  17. Hi all, I’ve written an AppleScript that may rival the great PEU. It includes the following additional features:

    • It exports files straight to the Indesign file folder or automatically to a sub folder of your choice
    • Exports individual pages. Each page is specifically named from one of the following options:
    – Indesign filename & suffix-of-your-choice & page no.
    – 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.
    • Option to combine JPEGs into a single PDF
    • Export current document or all open documents in Indesign

    It’s a free download with no registration so if you want to hear about updates, leave a comment or your name through the contact form.

  18. Hi all!

    This is a great script, we use it for all of our magazines. Has anyone edited the script to have it check the document links before exporting?

  19. Our Document is basic.
    Our goal is to automate the placement of both full page ads (completed PDFs) with (horizontally oriented) half page ads 2-up (also completed PDFs).

    10.75 inches by 6.3125 inches.
    Our pre-built Ads are either:
    11 inches x 6.5625 (Full page ads, with bleeds), or
    11 inches x 3.28125 (horizontal half-page ads, with bleeds).

    Our goal is to automate the building of the entire 48-page booklet with our pre-built folder full of full and half page ads, referencing our .csv database.

    I have not been able to figure how to accomplish this within Indesign (Data Merge, tables, Loic’s CSV-t-Tables Script, or his INLINE merge script.) Is there something which imports multiple page (pre-built) .PDF or .INDD files of various sizes into a final booklet?

  20. Great script, but it it possible to export non-consistent pages, ie, not a page range, but a page here and there form the document?

  21. Used this today for first time (with CC 2015) and it worked great.
    Thus proving there is still life left in old things!
    Thanks Scott for the helpful script.

  22. OOOooohhh WOW…Rock’n’Roll!!!

    This was THE script me and my brother have been seeking for ages!!!

    We both work together in a department for technical documentations, where we have the “nice task” of regularly updating dozens of heavy documents (300 pages), each in FIVE languages. Exporting to separate Print-/online PDFs is (or WAS) a painful task, waiting for one language to export, switch to the next “language-layer”, export, wait, switch, export, wait…

    It drove you completely nuts!

    But this script is pure magic and worked spot-on….in InDesign 2019!


    Finally, the InDesign gods had mercy with us… the day is getting perfect!

    Greetings from Switzerland

  23. This script is super, duper, awesome. But is it I get an error when I checked the box As Spreads. My job option doesn’t have the option to export as Spread & I’m only selecting it from the script.
    Error: 45 Error String: Object is invalid Engine: Main Line:565 Source CurrentINFO[“currentSpread”]
    The PDF is still created

      • Glenn, I tried both ways.
        Having the option as spreads on the script as well on the pdf preset. I get error number 45 but I still get a PDF as spreads

        The spreads option is unchecked on the script but it is on the PDF preset. No error but it creates single PDFs

  24. I can’t believe there is not an Output option for PNG! Come on, other than that, awesome.
    Does anybody can help with the png part?

  25. So I know that a few people have asked about exporting with Slug and Bleed area.

    The issue that I am running into is that when I select my custom PDF Preset that includes bleed area with the slug area showing crop and file info. When I run Page Exporter the ‘file info’ does not show up and my preset reset’s to no bleed or slug.

    Anyone run into this issue?

  26. I’ve been using this awesome script nearly daily for well over a year now!

    I’ve gotten into the habit of creating all my new multi page documents with a non printing layer called “page name”, a text frame on that layer on the master, and a paragraph style sheet called the same. This way, I can name my pages ONCE and forever more export them correctly named!

    Of course, if there’s a paragraph style in use on every page, that would work, but if even one page doesn’t have that paragraph style (even if you’re not exporting that page) you’ll get an error message.

    I recently had to resize a large batch of pdf files, so I made a picture frame in the master with a live caption (invisible type) and each page had the name of the pdf on it, ready to export.

  27. Found this thread and it works great BUT does anyone know of a way to keep default preferences using the script? I need my page number in the middle of the file ex: KCLMAR_##_File. So each time, I have to go to Change preferences, do the dropdown for Add page name after , click ok and then go back into the main screen to input into my filename and export. Is there a way to set it to default to Add page name after ? Remember my Preferences? Help!?

    • PS This wouldn’t be a big deal, but I export about 30 versions each month with the same naming convention, so it would be super convenient not to have to reset the preferences each time.

Leave a Reply

Your email address will not be published. Required fields are marked *