Sequential Text Numbering

Sequential Text Numbering

Script for Adobe Illustrator

✦ Available exclusively on Patreon for Pro supporters.

Description

Sequential Text Numbering automates numbering and labeling across selected text frames in Adobe Illustrator. It creates numeric, alphabetic, or Roman-numeral sequences and gives you precise control over their range, order, formatting, and placement within existing text.

Features

Build simple or customized sequences, preview the result directly in your document, and apply consistent labels to multiple text frames in one operation.

  • Four sequence formats: Generate numbers, uppercase letters, lowercase letters, or Roman numerals.
  • Flexible range controls: Set starting, ending, and step values, including descending sequences and repeated values.
  • Multiple ordering methods: Increase the sequence from left to right, top to bottom, by stacking order, or randomly.
  • Five replacement strategies: Replace all text, replace existing numbers, replace {n} placeholders, or add values as a prefix or suffix.
  • Custom separators: Insert spaces, punctuation, or other text between a prefix or suffix and the original content.
  • Numeric padding: Determine leading-zero width automatically or set a fixed minimum digit count.
  • Live feedback: Review a sequence sample and preview changes on the artboard before applying them.
  • Extra-frame cleanup: Remove eligible text frames left over when a defined sequence is shorter than the selection.

Installation

1. Download the Sequential Text Numbering.jsx script file.

2. Place the script in your Adobe Illustrator Scripts folder:

⮑ Mac: /Applications/Adobe Illustrator (Version)/Presets/(Language)/Scripts

⮑ Windows: C:\Program Files\Adobe\Adobe Illustrator (Version)\Presets(Language)\Scripts

3. Restart Adobe Illustrator if it's already running

4. Access the script via File > Scripts > Sequential Text Numbering

5. Alternatively, run it directly via File > Scripts > Other Script... and browse to the file location

Tip: You can also drag and drop the .jsx file directly onto the Illustrator workspace to run the script instantly – no installation needed.

Using the Script

Launch the Script

Open an Adobe Illustrator document, then select at least one text frame or one or more groups containing text frames. The script searches selected groups for text frames, but it cannot run from an active text-range selection.

Run Sequential Text Numbering from File > Scripts, use Other Script..., or drag the JSX file onto the Illustrator workspace. The dialog opens with multiple options:

image gallery

➊ Choose a Numbering Type

Select the format for the generated sequence in the Numbering Type panel.

  • Numbers (1, 2, 3): Creates a standard numeric sequence and enables leading-zero options.
  • Letters (A, B, C): Converts values from 1 through 26 to uppercase letters.
  • Letters (a, b, c): Converts values from 1 through 26 to lowercase letters.
  • Roman (I, II, III): Converts positive values from 1 through 3999 to Roman numerals.

Letter sequences use numeric input, so enter 1 for A or a, 2 for B or b, and so on. Leading-zero controls are available only when Numbers is selected.

image galleryimage galleryimage galleryimage gallery
Numbering Type

➋ Define the Sequence

Use the Sequence Settings panel to control the values assigned to the selected text frames.

  1. Enter the first value in Starting value. The default is 1.
  2. Enter the final inclusive value in Ending value, or leave it blank to continue for all eligible selected text frames.
  3. Set Step increment to control the difference between consecutive values.
  4. Enable Reverse sequence to apply the completed sequence in reverse order. For example, a generated sequence of 1 through 10 becomes 10 through 1 without changing the Starting value, Ending value, or Step increment.
  • Positive step: Counts upward, such as 1, 2, 3 with a step of 1 or 1, 3, 5 with a step of 2.
  • Negative step: Counts downward, such as 10, 9, 8 with a step of −1.
  • Zero step: Repeats the starting value in every eligible text frame.
  • Reset buttons: Click the ✖ beside a changed field to restore Starting value to 1, Ending value to blank, or Step increment to 1.
  • Keyboard adjustment: Press Up Arrow or Down Arrow in a numeric field to change it by 1, or hold Shift to change it by 10.

The Ending value and Step increment must agree: use a positive step for an ascending range and a negative step for a descending range.

image galleryimage gallery
Reverse Sequence option

➌ Set the Sequence Order

Choose how values are distributed across the selected text frames in the Increase Sequence panel.

  • Left to Right: Processes rows from top to bottom and text frames within each row from left to right.
  • Top to Bottom: Processes columns from left to right and text frames within each column from top to bottom.
  • Stacking Order: Follows the selected objects' stacking order in the Layers panel.
  • Randomly: Shuffles the generated values and ignores the positional sorting options.

Closely aligned frames are treated as belonging to the same row or column according to the approximate height of the selected text.

image galleryimage gallery
Sequence Steps 1 and 10

➍ Choose a Text Replacement Strategy

Use the Text Replacement Strategy panel to decide where each generated value appears.

  • Replace entire text content: Replaces everything in every eligible text frame with the generated value.
  • Replace existing numbers only: Replaces all number strings in frames that already contain numbers while preserving the other text.
  • Replace {n} placeholders only: Replaces every {n} placeholder in frames that contain it while preserving the surrounding text.
  • Add as prefix: Places the generated value before the original text.
  • Add as suffix: Places the generated value after the original text.

The Separator field becomes available for prefix and suffix modes. Enter a space, dash, period, or any other characters you want between the generated value and the original text; leave it blank to join them directly.

When replacing existing numbers or {n} placeholders, frames without the required content are skipped. The other three strategies use every selected text frame.

image galleryimage gallery
Add Number Sequence as prefix option

➎ Configure Number Formatting

The leading-zero controls apply only to the Numbers sequence type.

  • Pad numbers with leading zeros: Adds zeros before non-negative values so they share a consistent width.
  • Automatically determine digit count: Uses the widest value in the sequence to determine the required width.
  • Use fixed minimum digit count: Pads values to at least the number of digits you specify; the minimum accepted setting is 1.

For example, a minimum digit count of 3 formats 1, 2, and 3 as 001, 002, and 003.

image galleryimage gallery
Pad numbers with leading zeros option

➏ Manage Extra Text Frames

Enable Remove unnumbered extra text frames when the selected Ending value creates fewer sequence values than there are eligible text frames. The option is unavailable when the sequence already covers every eligible frame.

  • Review the live preview and sequence sample before enabling removal.
  • Remember that Replace existing numbers only and Replace {n} placeholders only limit the eligible set to matching frames.
  • Click Cancel if you do not want to commit the current changes.

Clicking OK permanently removes the unused eligible text frames when this option is enabled, so confirm the sequence length before applying it.

➐ Review the Preview and View Controls

Use the preview tools to inspect the sequence before applying it.

  • Sample: Displays a shortened text sample of the generated sequence and updates as settings change.
  • Preview: Applies the current settings temporarily to the artboard. Turn it off to restore the original text while keeping the dialog open.
  • Hide Edges: Temporarily hides selection outlines for an unobstructed view and restores the selection when turned off or when the dialog closes.
  • ✚ button: Fits the selected objects in the document window for a closer review.

Changing a sequence, sorting, replacement, separator, or formatting option refreshes the sample and the live artboard preview.

➑ Apply or Cancel

Check the preview, then finish the operation with the dialog controls.

  • OK or Enter: Validates the inputs, applies the sequence, saves the current settings, and closes the dialog.
  • Cancel or Esc: Restores any text changed by the live preview and closes the dialog without applying it.

If an input is invalid, the script displays the fields that need correction. Letter values must remain between 1 and 26, and a custom minimum digit count must be 1 or greater.

☻ Wrap-Up

Sequential Text Numbering turns repetitive Illustrator labeling into a controlled, previewable workflow. Choose the sequence format, range, order, replacement method, and formatting that suit your layout, then verify the artboard preview before applying the result. For short sequences, use the extra-frame removal option carefully because it deletes the unused eligible text frames when you confirm with OK.

Leave a comment

Sequential Text Numbering

Version: 1.0.4

Updated:

  • 1.0.0 – Initial release.
    1.0.3 – Fixed Roman-numeral output when applying a sequence and saved the selected sequence type between sessions.
    1.0.4 – Added a persistent Reverse sequence option with sample and live-preview support.

    Tested on MacOS:

    • Adobe Illustrator 2024 (28.1)
    • Adobe Illustrator 2025 (29.0)
    • Adobe Illustrator 2026 (30.3)
  • Supported Versions:

    • Compatible with Adobe Illustrator CS6 and later, including Adobe Illustrator CC versions.

    Operating Systems:

    • Works on both macOS and Windows platforms.
  • End User License Agreement (EULA)

    Last Updated: 21.12.2024

    This End User License Agreement (“Agreement”) is a legal agreement between you (“User” or “Licensee”) and Samolevsky.com (“Licensor”) regarding the use of the Adobe Illustrator scripts (“Software”). By downloading, installing, or using the Software, you agree to be bound by the terms of this Agreement.

    1. Grant of License

    Licensor grants the User a non-exclusive, non-transferable, and revocable license to use the Software in accordance with this Agreement.

    • Free Software: If the Software is provided for free, you may use it for personal or commercial purposes without payment, subject to the restrictions outlined in this Agreement.
    • Paid Software: If the Software is provided for a fee, you may use it only after payment has been made in full.

    2. Usage Rights

    You are permitted to:

    • Install and use the Software on devices you own or control.
    • Use the Software in your personal or commercial projects, subject to compliance with this Agreement.

    3. Restrictions

    You may NOT:

    • Reverse engineer, decompile, or otherwise attempt to discover the source code, underlying ideas, or algorithms of the Software.
    • Reuse, incorporate, or integrate any portion of the Software into any other software, product, or project, except as expressly permitted by the Licensor in writing.
    • Resell, redistribute, or share the Software, whether in its original or modified form, without prior written consent from the Licensor.
    • Claim ownership of the Software or its underlying code.
    • Use the Software in any way that violates applicable laws or regulations.

    4. Ownership

    The Software and all intellectual property rights therein remain the exclusive property of the Licensor. This Agreement does not transfer ownership of the Software or any intellectual property rights to the User.

    5. Disclaimer of Warranties

    THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NONINFRINGEMENT. IN NO EVENT SHALL THE LICENSOR BE LIABLE FOR ANY CLAIM, DAMAGES, OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT, OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

    6. Limitation of Liability

    To the maximum extent permitted by law, Licensor shall not be liable for any damages, including but not limited to direct, indirect, incidental, special, or consequential damages, arising out of or related to the use or inability to use the Software.

    7. Termination

    This Agreement is effective until terminated. Licensor may terminate this Agreement immediately if you breach any term of this Agreement. Upon termination, you must cease all use of the Software and destroy any copies in your possession.

    8. Updates and Support

    Licensor is not obligated to provide updates, support, or maintenance for the Software. However, updates may be provided at the sole discretion of the Licensor.

    9. Governing Law

    This Agreement shall be governed by and construed in accordance with the laws of the State of New York, without regard to its conflict of law principles.

    10. Entire Agreement

    This Agreement constitutes the entire agreement between you and the Licensor concerning the Software and supersedes all prior or contemporaneous understandings regarding such subject matter.

    By using the Software, you acknowledge that you have read this Agreement, understand it, and agree to be bound by its terms.

    For any questions or concerns regarding this Agreement, please contact us at hello@samolevsky.com

Browse More Scripts

  1. Explore Sequential Text Numbering
    Sequential Text Numbering

    Sequential Text Numbering

    Sequential Text Numbering automates numbering and labeling across selected text frames in Adobe Illustrator.

    Explore
  2. Explore Quick Resize
    Quick Resize

    Quick Resize

    Quick Resize is a floating panel for Adobe Illustrator that resizes selected objects to an exact width or height.

    Explore
  3. Explore Image Fill
    Image Fill

    Image Fill

    Image Fill places the selected image inside one or more selected closed paths or compound paths in Adobe Illustrator. 

    Explore

Introducing ScriptBox

Your Complete Adobe Illustrator Productivity Hub

Required Software

Adobe Illustrator

Adobe Illustrator is a professional vector graphics software developed by Adobe Inc. It is widely used by designers, illustrators, and artists for creating a variety of digital artwork, including logos, icons, illustrations, typography, and complex design layouts. Illustrator is known for its precision and scalability, allowing users to create high-quality graphics that can be resized without losing clarity. Its features include powerful drawing tools, customizable brushes, advanced typography options, and seamless integration with other Adobe Creative Cloud applications. Illustrator is a go-to tool for creative professionals working on projects for print, web, and multimedia platforms.

  • 🅰 Locating the Scripts Folder

    To install a Sequential Text Numbering.jsx script in Adobe Illustrator, you need to place it in the correct directory where Illustrator
can recognize it. Follow these steps to locate the Scripts folder:

    1. MacOS:
      Open Finder and navigate to:
      Applications/Adobe Illustrator <Version>/Presets/<Language>/Scripts
    2. Windows:
      Open File Explorer and navigate to:
      C:\Program Files\Adobe\Adobe Illustrator <Version>\Presets\<Language>\Scripts
    3. Replace <Version> with your Adobe Illustrator version (e.g., 2025).
    4. Replace <Language> with your language folder (e.g., "de_DE" for German, "en_US" for English).

    🅱 Installing the Script

    1. Copy the Script File: Copy the Sequential Text Numbering.jsx file to the Scripts folder located in the path above.
    2. On some systems, you may need administrator permissions to modify the Scripts folder.
    3. Restart Adobe IllustratorTo refresh the scripts menu, close and reopen Adobe Illustrator.

    Explore our complete guide to mastering Adobe Illustrator scripts.

    1. Open Adobe Illustrator and ensure a document is active.
    2. Go to the top menu bar and select File > Scripts.
    3. If the script is installed in the Scripts folder, it will appear in the dropdown list.
    4. Click the Sequential Text Numbering script to run it.
    5. The Sequential Text Numbering script will execute, and any dialog boxes or results will appear based on the script’s functionality.

    ☻ Before running any scripts, it’s strongly advised to save your work — especially when working with complex or large documents.

Got questions?

Need help or have an idea to share? We’d love to hear from you! Whether you have questions, found a bug, have a feature request, or just want to share your feedback, reach out to us—we’re here for you!