39 SCRIPTS · NEWEST FIRST
alt-text labeler
This script will create a new layer with alt-text labels pulled from the custom alt-text in each graphic frame's Object Export Options. It will also create new Object and Paragraph styles for the new content. The labels set centered—vertically and horizontally—on their respective graphic frames' center reference point at 60% the width of the graphic frame.
alt-text labeler-2.png
alt-text labeler-1.pngAdded 10/30/2026
Americanize-Anglicise
(VERSION 2)
This customizable script takes a US document and (mostly) converts it to UK English style, and vice versa. Depending on the length of your document, the run can take a while, so go make a sandwich or something.
americanize-anglicise-v2-1.pngThere’s a lot to unpack here, so I’ll break it down as best I can . . .
americanize-anglicise-v2-2.pngDirection: Choose US to UK or UK to US, and the rest of the dialog flips to match.
Changes: The first six (optional) options swap standard US/UK style differences:
• Swap quotes: double quotes to single quotes, and single quotes to double quotes. Apostrophes are left alone, and straight quotes aren’t converted.
• Punctuation & quotes: moves . , ! ? : ; inside or outside the closing quotes.
• Dashes: em dash to an en dash with a Nonbreaking Space (Fixed Width) before it and a word space after.
• Ellipses: spaced periods (every space variation I could think of) to an ellipsis character with a Nonbreaking Space (Fixed Width) before it and a word space after, and vice versa.
• Abbreviations: Mr. Dr. St. Mrs. Ltd. to Mr Dr St Mrs Ltd
• Dates: Month Day, Year to Day Month Year (and Month Day to Day Month). For example, July 4, 1776 to 4 July 1776 (and July 4 to 4 July).
• The Highlight ranges and Highlight numbers options highlight items for review without changing them: number ranges whose style may need changing (234–39 / 234–9), and numbers that may need to be spelled out or set as figures.
• Heading case prompts you to select any paragraph styles that should change from title case to sentence case and vice versa.
americanize-anglicise-v2-3.pngThere is also an option to define articles and prepositions to remain lower case.
americanize-anglicise-v2-4.pngNOTE: this doesn’t account for titles inside the text that may need a case change, only those defined by a style.
Settings:
• Scope: Choose the active document or the selected story.
• Create a report of paragraphs that gained or lost a line.
• Include text on locked layers (they’re locked again afterwards).
Your choices are remembered for next time.
americanize-anglicise-3.pngSpelling list:
A customizable list of US/UK spellings, always applied. Add optional word endings to widen the scope (color|s|ed|ful catches colors, colored and colorful). Capitals in the text are preserved.
Context words and grammatical phrases:
(Optional) Curate your own list of words or phrases whose spelling or wording depends on context. You can either highlight them for review, or have the script change and highlight them. Use it for vocabulary (elevator to lift) or grammar (in the hospital to in hospital).
americanize-anglicise-4.pngWhen the run is finished, a summary shows what was changed.
americanize-anglicise-v2-5.pngIt also saves an xlsx report next to your document. One tab lists every paragraph that gained or lost a line, to help with reflow. The other lists every highlighted item with its page and surrounding text.
americanize-anglicise-6.pngHighlights and how to remove them:
The highlights are a non-printing condition (“US-UK context check”) applied to the text. To remove, clear or hide them, open Window > Type & Tables > Conditional Text.
• Remove them all: select “US-UK context check” and click the trash icon at the bottom of the panel. If InDesign asks what to replace it with, choose [Unconditional]. The highlights disappear and the text stays exactly as it is.
• Clear just one: select that text and click [Unconditional] in the panel.
• Hide them for now: choose Hide Indicators from the panel menu. Show Indicators brings them back.
• Don’t click the eye icon next to the condition. That hides the highlighted text itself, not just the highlight.
americanize-anglicise-7.pngRevised 11/16/2026
apply chapter color overrides
I work with a designer who likes to use a different color scheme for every chapter in cookbooks, but for myriad reasons, I don't want to make a new set of styles for each chapter. Instead I use a placeholder swatch—e.g. "variable-black"—through a single set of styles, then I use this script to override the colors by page range
This script prompts you to identify the variable swatch, a page range, and the color to be swapped throughout that page range.
Before
apply-chapter-color-overrides-1.pngAfter
apply-chapter-color-overrides-2.pngAdded 9/16/2026
apply P style up to closing tag
Most of the Word files I pour into my InDesign documents use tags to indicate where a new style begins (e.g., <H1>) and ends (e.g., </>). Let’s say I have an extract (<EXT>) in my manuscript, this script will prompt you to enter the tag and select the paragraph style that should be applied to those paragraphs.
apply-p-style-up-to-closing-tag-2.pngThis script applies the paragraph style to all paragraphs between those tags, then removes the tags.
apply-p-style-up-to-closing-tag-1.png
apply-p-style-up-to-closing-tag-3.pngIn this particular example, this doesn’t get you all the way there, but big chunks of text throughout your document are automatically styled and cleanup is much easier. In many cases, however, it is one and done. I recommend temporarily using a unique character color in the paragraph styles you are applying, so they stand out when you're going back through your document.
apply-p-style-up-to-closing-tag-4.pngAdded 8/9/2026
apply parent by P style
(VERSION 4)
I have been nagging Adobe for years to make this a native paragraph style feature. This script lets you pair up to five paragraph styles from your document with parent pages. Any page on which a selected paragraph style appears will get its paired parent page applied to it. If a page contains more than one of the selected styles, the higher row wins. It will also let you change all blank pages to [None].
apply-parent-by-p-style_v3.pngRevised 11/13/2026, with tweaks by Alberto Gutiérrez (9/8/2026)
caption-image alignments
A keyboard shortcut isn’t essential for this script, but it helps. The script will automatically align a caption text frame with an image. Select the image and caption text frame and run the script. NOTE: both the image and the caption must either be on the same page, or on the same side of the pasteboard.
caption-image-alignments-2.png
caption-image-alignments-3.pngYou will be prompted to select a number (1, 2, 3, 7, 8, or 9). The positioning logic is based on the number pad: 1 = bottom, left. 2 = bottom, center. 3 = bottom, right. 7 = top, left. 8 = top, center. 9 = top, right. The default is 2 because that’s what I use most.
caption-image-alignments-1.pngAdded 8/9/2026
center text between baselines
I generally prefer to align text to the baseline, but sometimes designers use odd spacing in other text elements—a bulleted list in this example—that throws off vertical centering.
To fix, highlight the text that you want to center and run this script.
Before
center-text-between-baselines-1.pngAfter
center-text-between-baselines-2.pngAdded 9/23/2026
change blank pages to None
(VERSION 3)
This should be pretty self-explanatory. The script will apply the “[None]” parent to any page in the document that doesn’t have any text or art on it. If the blank page has parent items or a page break on it, the script still considers it to be blank.
Revised 11/13/2026
clear C styles from selected P style
When I receive manuscripts, headings are almost always locally formatted as bold in Word. After I apply my character styles in InDesign, these have a bold character style applied. When paragraph styles are applied (I use Multi-Find/Change to apply globally, so “clear character styles” isn’t an option) the bold character style is still applied.
clear-c-styles-from-selected-p-style-1.pngIn this example, the paragraph style's font style is Light. Place your cursor in any paragraph using that style and run the script — it will remove the character style from every instance of that paragraph style in the document.
clear-c-styles-from-selected-p-style-2.pngAdded 8/9/2026
clear hand-drawn guides
(VERSION 3)
When I finish a job I like to clean up my file. This script will prompt you to select drawn guides on pages, parents, or both. Click "Remove" to wipe out all guides you drew as you were working through your file.
Revised 10/20/2026
export multiple formats
This script allows you to export multiple formats via a single dialogue. You can select as many formats as you need.
export-multiple-formats-1.pngClick "Specifications" and you will be offered options for each selected format.
export-multiple-formats-2.pngClick Next/Back to navigate each format's additional specifications.
export-multiple-formats-3.pngSee also, package file with multiple formats
Added 11/3/2026
export multiple PDFs by range
(VERSION 2)
This script will export multiple PDFs from a document and give you the option to name each individual PDF. Enter page number/range and file name separated by a pipe with spaces on either side.
export-multiple-pdfs-by-range.pngRevised 11/10/2026
export PDF - only pages with links
(VERSION 3)
This script will export PDF(s) of only the pages in your document that have links. It can be exported as a combined document or individual pages. If the latter, it will add the page number to the end of the file name.
By default, pages whose only links come from their applied parent page are skipped. Check "Include pages whose only links are on their parent page" to include them.
export-pdf-only-pages-with-links-v2.pngRevised 11/3/2026
export two PDFs at once
My clients often want a high-resolution and low-resolution PDF for every round of proofs.
export-two-pdfs-at-once.pngAdded 8/9/2026
find 4c text
I avoid printing most text in four colors to avoid any registration issues, but that doesn't stop designers from using it anyway. This script will smoke out any four color text existing in your document.
find 4c text-1.png
find 4c text-2.png
find 4c text-3.pngAdded 9/23/2026
font swapper
(VERSION 2)
This script is an expansion on Find/Replace Font. It allows you to replace all fonts at once, redefine styles, AND—if you want—it will resize the type. Each style’s point size changes only as much as needed to keep its line endings—or at least enough to cause little, if any, page reflow—and the styles are updated accordingly. You can select multiple fonts and replace them with the new face.
Before
font-swapper-1.pngNOTE: if the “Swap to” font doesn’t populate, it is likely because the name of the style is too different (e.g., Book Italic vs. Italic), in which case you will need to select the style manually.
After
font-swapper-2.pngNOTE: this one takes a minute to run.
Revised 11/5/2026
fonts by style
(VERSION 2)
This script shows you which fonts are used in your styles. You can navigate by font or by style and you can even open each style directly through the interface to edit.
fonts-by-style-1.pngYou can also export the results as four different txt file reports.
fonts-by-style-2.pngSelected font
fonts-by-style-3.pngStyles by font
fonts-by-style-4.pngFonts by style
fonts-by-style-5.pngStyle / font list
fonts-by-style-6.pngRevised 9/24/2026 with feedback from KiyTech
generate checklist note
(VERSION 2)
I use the Notes panel constantly during the course of a project so I can go back and check or fix things later on in the process. I’m also big on checklists and have a standard list of things I always check at the end of a job. I made this script to insert a checklist at the very beginning of my document.
generate-checklist-note-v2-1.pngThe script opens a dialogue where you can customize your checklist. Click “Insert Note” and the note will embed wherever your cursor is.
If you want to save yourself a click, I have included version 1 in the download.
Revised 11/12/2026
image DPI report generator
This script creates a .txt file report that lists all files in a document that are under 255 effective DPI.
image-dpi-report-generator.pngAdded 8/9/2026
link redactor
A colleague recently needed to supply someone with an InDesign file, but without any of the links in their frames—frames intact to retain page make-up. This was the answer.
Before
link-redactor-1.pngAfter
link-redactor-2.pngAdded 8/9/2026
package file with multiple formats
This script will package your file and export multiple formats into the package folder via a single dialogue. Name the package folder, set your package options, and select as many formats as you need.
package-file-with-multiple-formats-1.pngClick "Specifications" and you will be offered options for each selected format.
package-file-with-multiple-formats-2.pngClick Next/Back to navigate each format's additional specifications.
package-file-with-multiple-formats-3.pngSee also, export multiple formats
Added 11/3/2026
package file with two PDFs
(VERSION 2)
Like export two PDFs at once, this script will package a file and let you select two PDF export presets and name each PDF. The package folder is saved in the same location as your InDesign file.
package-file-with-two-pdfs.pngRevised 11/10/2026
panel divider
I made this for prepping graphic novels for accessibility features, but I can see it being useful outside of that. If you want to break up a link into multiple links without changing the appearance of the page, draw frames around each part you want to isolate—I recommend a small bit of overlap.
panel-divider-1.pngSelect all drawn frames and the underlying image (per page), and run the script.
panel-divider-2.pngAdded 8/9/2026
poetry alignment
I like to set blocks of poetry flush left on the longest centered line. For years I did this manually and it was a drag. Now, I just select the block I want to re-align and run the script. If you use this enough, it is definitely worthy of a keyboard shortcut.
poetry-alignment-1.png
poetry-alignment-2.pngAdded 8/9/2026
populate custom alt-text from csv
(VERSION 2)
The next step in this graphic novel accessibility process is to apply the alt-text to the divided frames. Select a frame and run the script. You will be prompted to select a csv file and the cell in which the alt-text lives.
populate custom alt-text from csv - 1.png
populate custom alt-text from csv - 2.pngClick “OK” and the altext is applied to the selected panel.
populate custom alt-text from csv - 3.pngRevised 10/30/2026
proof sheet creator
(VERSION 2)
To check photo quality and color on art-heavy books, we run the images—cropped and scaled exactly as they appear in the book’s document—through a large-format Epson proofer. To conserve paper, we gang as many photos as possible onto a single page.
This used to mean tedious copy-and-paste or drag-and-drop work. Now we just set the document size, select the images we want to proof (or select all), click OK . . .
psc-1-v2.png. . . and the selected images are automatically placed on the proof sheet.
Before
psc-2.pngAfter
psc-3.pngSome manual adjustment—repositioning or rotating a few images—is often needed afterward, but the script does most of the work with a single click.
Revised 11/13/2026
renumber endnote references
I don’t use InDesign’s endnotes feature. The only drawback is that, if an endnote is added or removed, the references don’t renumber. This script takes care of that.
renumber-endnote-references-1.pngAfter removing (or adding) an endnote reference number, run the script, select the character style for the reference number and the next instance of paragraph style to renumber up to. (You can also highlight all of the text you want renumbering in).
renumber-endnote-references-2.png
renumber-endnote-references-3.pngAdded 9/25/2026
set sink rule
(VERSION 2)
I almost always use a “Keep In Frame,” invisible rule to sink items on a page—as opposed to parents of varying margins. This script prompts you for an offset value (in picas)—a rough guess for a starting point (default is 6).
set-sink-rule-1.pngOnce you hit “OK,” it creates an invisible rule with the values populated for the proper sink. From there you can create or redefine a paragraph style. For me, it is surprisingly useful.
set-sink-rule-2.pngRevised 8/14/2026
sort all styles
I am constantly sorting styles as I work through projects. This script will sort all styles in all style panels by name. Styles will be sorted alphabetically at the top of the panel with all style groups sorted alphabetically below the styles.
Added 10/29/2026
stacks-ladders-rivers
Yes, this concept is shamelessly borrowed from a real scripter, Rorohiko. I wanted to customize it for my specific purposes and to include rivers.
stacks-ladders-rivers-1.pngUsing conditional text, the script will highlight:
Letter stacks at the beginnings and ends of justified lines.
stacks-ladders-rivers-2.pngWord stacks at the beginnings and ends of justified lines, as well as mid-paragraph when ¾ of the word(s) overlap.
stacks-ladders-rivers-3.pngPunctuation stacks at the beginnings and ends of justified lines.
stacks-ladders-rivers-4.pngLadders.
stacks-ladders-rivers-5.pngThe script will flag end-of-line stacks that span a paragraph's short last line to the next paragraph.
stacks-ladders-rivers-6.pngRivers of space larger than an en space. Spaces can cascade as long as one stacks on another.
stacks-ladders-rivers-7.pngAfter running the script, a report is created showing where each highlight was applied.
NOTE: the run can take a minute or so depending on the length of your document.
Highlights and how to remove them:
The highlights are non-printing conditions (“LP stacks – letters,” “LP stacks – words,” “LP stacks – punctuation,” “LP stacks – ladders,” and “LP stacks – rivers”) applied to the text. To remove, clear or hide them, open Window > Type & Tables > Conditional Text.
• Remove them all: select conditions and click the trash icon at the bottom of the panel. If InDesign asks what to replace it with, choose [Unconditional]. The highlights disappear and the text stays exactly as it is.
• Clear just one: select that text and click [Unconditional] in the panel.
• Hide them for now: choose Hide Indicators from the panel menu. Show Indicators brings them back.
• Don’t click the eye icon next to the condition. That hides the highlighted text itself, not just the highlight.
stacks-ladders-rivers-8.pngAdded 11/16/2026
start paragraph . . .
These six scripts are used to select Start Paragraph options (in Keep Options). A good time-saver if you often need to re-start paragraphs without editing the paragraph style.
start-paragraph.pngAdded 8/12/2026
style sleuth
I was wrapping up a file with an absurd number of styles, organized into an equally absurd number of style groups, sub-groups, and sub-sub-groups. Making things worse, many of the styles inside those groups had been repurposed and renamed from other groups along the way.
For the last bit of housekeeping, I needed to clear out the unused styles. There were a lot of them—but for one reason or another, "Select All Unused" wasn't catching them all. So I built this script to make some sense of what was actually going on with the styles.
Run the script and you're presented with four menus:
Paragraph Styles (Based On) — paragraph styles that are based on others.
Character Styles (Based On) — character styles that are based on others.
Character Styles (Nested/GREP/BN) — character styles associated with a paragraph style.
Object Styles (Based On) — object styles that are based on others.
stylesleuth-1.pngCheck the box next to any style you want to investigate. Checking a group selects everything nested inside it. Click OK, and the script generates a report—both as an on-screen window and as a .txt file.
stylesleuth-2.png
stylesleuth-3.pngSee also, where the f--k is this style
Added 8/28/2026
text anchor - bookmark by P style
(VERSION 2)
I actually created this one for the InDesign mockup of this web page and thought it could be useful to others. For the hyperlinks, I needed to add a text anchor (and/or bookmark) at the beginning of each red style name, and I wanted those text anchors (and/or bookmarks) to have the same name as the style. Place your cursor in the story, and when you run this script it will prompt you to select a paragraph style (or multiple paragraph styles).
text-anchor-bookmark-by-p-style-3.pngHit “OK” and you will be prompted to select Bookmark, Text Anchor, or Both.
text-anchor-bookmark-by-p-style-4.pngHit “OK” and a text anchor (and/or bookmark) will be added to the beginning of every instance of that paragraph style, and the text anchors (and/or bookmarks) will be named according to the text of that paragraph style.
text-anchor-bookmark-by-p-style-2.png
text-anchor-bookmark-by-p-style-1.pngSee also, TOC page numbers by P style
Added 8/9/2026
TOC page numbers by P style
(VERSION 2)
I generally don’t use InDesign’s TOC feature, but having page number placeholders filled in automatically is convenient. First, the script asks you to select the paragraph and/or character styles of the text in your document that is reflected in the TOC, such as chapter titles. It adds a text anchor to each of those paragraphs, and it can create PDF bookmarks too.
toc-page-numbers-by-p-style-v2-1.png
toc-page-numbers-by-p-style-v2-6.png
toc-page-numbers-by-p-style-v2-2.pngNext, it asks you to select the paragraph and/or character styles used for the matching entries in your TOC.
toc-page-numbers-by-p-style-v2-3.pngFinally, it asks for the character and/or paragraph styles of the TOC page numbers. The placeholders need to contain some text, such as “000”.
toc-page-numbers-by-p-style-v2-4.png
toc-page-numbers-by-p-style-v2-5.pngThe matching ignores forced line breaks and chapter numbers like “1.” If pages shift, run the script again to update the numbers. It remembers your style choices, reuses the anchors it already made, and the whole run can be undone in one step.
See also, text anchor - bookmark by P style
Revised 11/10/2026
tracking_gain a line
A keyboard shortcut is necessary for this, but I use it all the time. If I need to gain a line in a paragraph, this script will apply the smallest amount of tracking needed to do so—stopping at +20. Just highlight the paragraph and run the script.
Added 8/9/2026
tracking_lose a line
A keyboard shortcut is necessary for this, but I use it all the time. If I need to lose a line in a paragraph, this script will apply the smallest amount of tracking needed to do so—stopping at –20. Just highlight the paragraph and run the script.
Added 8/9/2026
where the f--k is this style
This one is a companion to style sleuth. After all that sleuthing, I still had a handful of styles I couldn't track down and flush out. The report this script generates shines a bit more light on them.
The interface is similar to style sleuth's, except the menus offer up every paragraph and character style, not just the ones based on others.
wtf-1.png
wtf-2.pngAdded 8/28/2026




