How to install and run a script in Illustrator
Save the script as a .jsx file, then run it from File, Scripts, Other Script. To keep it in the menu, put it in Illustrator's Presets, Scripts folder and restart.
In short
- A script is a .jsx file. Illustrator runs it from File, Scripts.
- Other Script runs a file from anywhere, once.
- The Scripts folder keeps it in the menu after a restart.
- Open a document and select your paths before running most scripts.
- Only run scripts from authors you trust.
How do you run a script once?
Download the script and check that its name ends in .jsx. Open a document in Illustrator, select the paths the script should work on, then choose File, Scripts, Other Script, find the .jsx file and open it. The script runs once, straight away, and nothing is installed or copied anywhere on your computer.
Adobe describes the same steps on its install and run scripts help page. If all you need is anchor points and handles, or a grid, you can skip scripts and use the free logo grid generator in your browser.
How do you keep a script in the menu?
Copy the .jsx file into Illustrator's Scripts folder, then quit and open Illustrator again. The script now shows under File, Scripts, by its file name. The folder is inside the app folder, in Presets, then your language folder such as en_US, then Scripts. Your computer may ask for an admin password.
- Mac
Applications, Adobe Illustrator 2025, Presets, en_US, Scripts. Right-click the app folder and choose Show in Finder if you can't find it.
- Windows
C:, Program Files, Adobe, Adobe Illustrator 2025, Presets, en_US, Scripts.
- Restart
Quit Illustrator and open it again. The script appears under File, Scripts.
Why won't my script run?
Most scripts fail for one of five simple reasons: no document is open, nothing is selected, Illustrator hasn't restarted since the copy, the file has the wrong ending, or the folder needed an admin password. Work down the list below, and check the author's page for the versions of Illustrator the script supports.
| What you see | What to do |
|---|---|
| Nothing happens | Most scripts work on the open document or the selection. Open a file, select the paths, and run it again. |
| The script isn't in the menu | Illustrator reads the Scripts folder when it starts. Quit and open Illustrator again. |
| Permission denied when copying | The Scripts folder sits inside the app folder. Your computer asks for an admin password to copy into it. |
| A warning about external scripts | Illustrator warns before running a script from outside its folder. Run it only if you trust where it came from. |
| The file ends in .txt or .js | Some downloads add the wrong ending. Rename it so it ends in .jsx. |
Are scripts safe to run?
A script can do anything Illustrator can, so run only scripts from authors you know. Download from the author's own page or GitHub, not a reupload. Save your work first, and try a new script on a copy. Adobe shows a warning before running a script from outside the Scripts folder for this reason.
Is there a way to skip installing?
Yes. For construction grids, anchor points and handles, Brandfile works in the browser with nothing to install. Drop your logo SVG into the anchor point visualizer or the logo grid generator and the marks are drawn from the real paths, from a file made in any design app.
For a blank grid to draw a new logo on, the free Brandfile Grid Library has 54 grids as SVG files you open in Illustrator, Figma or Affinity, again with nothing to install.
Questions
- Where is the Scripts folder on a Mac?
- Inside the Illustrator app folder, in Presets, then your language folder, then Scripts, for example Applications, Adobe Illustrator 2025, Presets, en_US, Scripts. On some Macs the Presets folder shows as Presets.localized.
- Where is the Scripts folder on Windows?
- In Program Files, Adobe, Adobe Illustrator 2025, Presets, en_US, Scripts. Swap the year for your version and en_US for your language.
- Are Illustrator scripts safe?
- A script can do anything Illustrator can, including saving and deleting files. Use scripts from authors you know, read the page they come from, and keep a copy of your work before running a new one.
- What is a .jsxbin file?
- A script saved in a compiled form, so its code can't be read. It runs the same way as a .jsx file. Only run one when you trust the author.
- Can I run Illustrator scripts in Figma or Affinity?
- No. Illustrator scripts only run in Illustrator. Figma has plugins, Affinity has its own scripts, and a browser tool works with an SVG from any of them.