Instructions in other languages: English, Русский
This is a collection of JS scripts for Adobe Illustrator. All scripts created by me, sometimes using parts of other authors’ code. The Github Gist contains the small scripts that are not included in the main collection.
The descriptions for each file can be found in the file’s header text. Test environment: Illustrator CS6, CC 2019-2025 (Windows), CC 2019-2025 (Mac OS).
- In the script description, click button.
- The tab will open the script code.
- Press Cmd/Ctrl + S for download.
- Download archive and unzip. All scripts are in the folder
jsx
- Place
<script_name>.jsx
in the Illustrator Scripts folder:- OS X:
/Applications/Adobe Illustrator [vers.]/Presets.localized/en_GB/Scripts
- Windows (32 bit):
C:\Program Files (x86)\Adobe\Adobe Illustrator [vers.]\Presets\en_GB\Scripts\
- Windows (64 bit):
C:\Program Files\Adobe\Adobe Illustrator [vers.] (64 Bit)\Presets\en_GB\Scripts\
- RU lang:
C:\Program Files\Adobe\Adobe Illustrator [версия]\Стили\ru_RU\Сценарии\
- OS X:
- Restart Illustrator
- Scripts will be available in File → Scripts.
Drag and drop the script file (JS or JSX) onto the tabs of Illustrator documents. If you drag it to the area of the open document, the script may not work correctly (Adobe bug).
I recommend the Scripshon Trees or LAScripts panel. In it you can specify which folder your script files are stored in.
You can use them to create macros to run scripts with hotkeys.
- SPAi (Mac OS, free)
- Hammerspoon (Mac OS, free)
- Keyboard Maestro (Mac OS, paid)
- BetterTouchTool (Mac OS, paid)
- AutoHotkey (Windows, free)
Warning
To run scripts via the F1-F15 hotkeys, users add them to the Actions panel. If another action is running inside the script, Illustrator will freeze. How do you check it? Open the script in a text editor, if you find app.doScript()
in the code, it is using an action. This is in all versions from CS6 to CC 2025 on Mac and Windows.
Many scripts are free to download thanks to user support. Help me to develop new scripts and update existing ones by supporting my work with any amount via Buymeacoffee USD
, ЮMoney RUB
, Tinkoff RUB
, Donatty RUB
, DonatePay RUB
. Thank you.
- BentoGrid — script generates random bento grids with different cell proportions.
- RandomColors — script generates random fill and stroke colors for selected objects and editable text.
- ExportSequence — script for toggle visibility of numbered objects in selected groups and exports document as sequence to PNGs or JPGs.
- ColorToner — script for generating tints, shades, and tones from base colors.
- GradientBlender — script to make gradients more accurate, smooth.
- Ai2Ae — script for prepare Adobe Illustrator Layers for import into Adobe After Effects.
- ArtboardsFromCSV — script for batch creation of artboards with names and dimensions defined in a CSV table.
- Duplicate Artboards Pro — script for copying the selected Artboard with or without his Artwork.
- HighlightText — script for adding highlighting strokes based on text lines.
- ImportImagesByName — script for imports images from the specified folder by names from the contents of the selected text objects.
Click the category name to learn more about the scripts in the selected category.
- ArtboardsFinder
v0.1.5 — upd, 09.02.2024
- ArtboardsRemapper
v0.2 — upd, 19.02.2024
- BatchRenamer
v1.5 — upd, 21.01.2024
- DuplicateArtboards
v0.4.4 — upd, 09.02.2024
- FitArtboardsToArtwork
v0.2 — upd, 18.09.2023
- MoveArtboards
v0.2.6 — upd, 09.02.2024
- RenameArtboardAsLayer
v0.2 — upd, 12.09.2024
- RenameArtboardAsSize
v0.4 — upd, 12.09.2024
- RenameArtboardAsTopObj
v0.3 — upd, 12.09.2024
- AverageColors
v0.1 — 27.03.2022
- BeautifySwatchNames
v0.1 — new, 31.10.2024
- ColorBlindSimulator
v0.1 — 18.04.2022
- ColorCorrector
v0.1 — new, 21.06.2024
- ColorGroupReplacer
v0.1 — 08.10.2023
- ContrastChecker
v0.1.1 — upd,23.07.2024
- ConvertToGradient
v0.1.4 — upd, 09.02.2024
- CycleColors
v0.4.2 — upd, 09.02.2024
- CycleGradient
v0.1 — 10.2021
- DistributeGradientStops
v0.1 — 08.2021
- MatchColors
v0.2.1 — upd, 20.05.2024
- RemoveGradientStops
v0.1 — 09.2021
- ReverseGradientColor
v0.1 — 08.2020
- StrokeColorFromFill
v0.4.1 — upd, 12.02.2024
- DrawPathBySelectedPoints
v0.1 — 10.03.2023
- DrawRectanglesByArtboards
v0.2 — new, 29.07.2024
- NumeratesPoints
v0.3.3 — upd, 22.12.2022
- RandomScribble
v0.1.3 — upd, 09.02.2024
- Export selection as AI
v0.2 — 06.10.2022
- ExportToDXF
v0.1.1 — upd, 04.05.2023
- CenterClipsToArtboards
v0.1 — 05.2021
- ExtractFromGroup
v0.1 — new, 05.05.2024
- ExtUngroup
v1.2.1
- GroupArtboardObjects
v0.2 — new, 11.06.2024
- MaskArtboards
v0.1 — new, 29.07.2024
- MoveToGroup
v0.1.2 — upd, 09.02.2024
- TrimMasks
v0.3
- AlignToArtboards
v0.2 — upd, 06.11.2023
- BatchTrace
v0.3 — upd, 07.06.2023
- DuplicateToArtboards
v0.1.3 — upd, 09.02.2024
- FitSelectionToArtboards
v0.3.4 — upd, 22.04.2024
- MakeEnvelopesWithTops
v0.1 — 09.2021
- MirrorMove
v0.1.1 — upd, 07.08.2024
- PlaceSymbols
v0.1 — new, 16.08.2024
- RenameItems
v1.7 — upd, 20.05.2024
- Rescale
v0.3.4 — upd, 09.02.2024
- ResizeOnLargerSide
v0.2.2 — upd, 22.12.2022
- ResizeToSize
v0.9.1 — upd, 09.02.2024
- RoundCoordinates
v0.4.2 — upd, 22.12.2022
- SwapObjects
v0.2 — upd, 24.03.2024
- RememberSelectionLayers
v0.3 — 26.02.2022
- RenameLayerAsText
v0.1.1 — upd, 09.02.2024
- SortLayerItems
v0.1 — 29.08.2022
- DivideBottomPath
v0.1 — 22.02.2023
- SetPointsCoordinates
v0.1.1 — upd, 09.02.2024
- PointsMoveRandom
v0.4.5 — upd, 09.02.2024
- SplitPath
v1.3.1 — upd, 09.02.2024
- SubtractTopPath
v0.2 — 03.04.2022
- TrimOpenEnds
v0.1.1 — upd, 22.02.2023
- CornersSelector
v0.1 — 21.04.2023
- NamedItemsFinder
v0.2.3 — upd, 09.02.2024
- SelectAllLayersAbove
v0.1 — 21.02.2022
- SelectAllLayersBelow
v0.1 — 21.02.2022
- SelectArtboardObjects
v0.1.1 — upd, 13.01.2025
- SelectBySwatches
v0.3.2 — upd, 22.04.2024
- SelectOnlyPoints
v0.3.2
- SelectPointsByType
v2.1.4 — upd, 09.02.2024
- SelectRotatedItems
v0.1 — 22.06.2022
- AverageStrokesWidth
v0.1 — 07.02.2023
- ChangeOpacity
v0.1.2 — upd, 09.02.2024
- GrayscaleToOpacity
v0.1
- MakeTrappingStroke
v0.1.1 — upd, 09.02.2024
- OpacityMaskClip
v0.3 — upd, 05.03.2024
- RandomStrokeWidth
v0.1.2 — upd, 14.10.2022
- StrokesWeightUp
v0.3 — upd, 23.07.2024
- StrokesWeightDown
v0.3 — upd, 23.07.2024
- AlignTextBaseline
v0.1.1 — upd, 09.02.2024
- MakeNumbersSequence
v0.5 — upd, 26.03.2024
- MultiEditText
v0.2.2 — upd, 12.04.2024
- ReplaceFormattedText
v0.1 — 29.12.2022
- CheckPixelPerfect
v0.1 — 03.02.2022
- DocumentSwitcher
v0.1 — new, 28.08.2024
- FileVersionInformer
v0.1 — 12.2017
- ObjectsCounter
v0.1 — 08.2020
- SaveAllDocs
v0.1 — upd, 03.2023
- SyncGlobalColorsNames
v0.1 — 04.2021
- Zoom And Center
v1.3 — upd, 03.01.2025
- I am very thankful for such a nice and useful scripts. It makes my life easy and more productive - Rizwan Abuzar
- You are a hero. Thank you for all your hard work improving illustrator so it saves countless hours for people worldwide via your scripts - Nitcho
- Sergey, these scripts of yours are great — Terry Foxx
- Wow. I just installed and successfully tested. Outstanding work!!! — Zak Lay
- Tried your script to export selected objects to separate Ai, works smartly — Dmitry
- I looked at your post. Useful scripts! — Askhat Gilyakhov
- Thank you for such wonderful scripts — Oleg Zybailov
- Very powerful and user-friendly, cover a lot of gaps — Egor Chistyakov
- I'm a big fan of your scripts. Absolutely amazing work — David Nightingale
- You are the best ever script editor. All scripts are amazing and useful for designers and time saver. Thank you for your supporting — Tuan Hijas Musaffer
Don't forget sharing link with a friend 🙂
Found a bug? Please submit a new issues on GitHub.
Tips, tricks and scripts bugs for Adobe Illustrator: English, Русский.
Email hi@sergosokin.ru
Telegram @sergosokin
All scripts is licensed under the MIT licence.
See the included LICENSE file for more details.