Layer Name Case Converter
Script for Adobe Illustrator
ㅤ
Description
The Layer Name Case Converter is an Adobe Illustrator script that allows you to quickly change the case style of your layer names. This script provides multiple case formatting options including lowercase, UPPERCASE, Title Case, Sentence case, and much more. It's perfect for organizing your Illustrator files and maintaining consistent naming conventions across your projects.
ㅤ
Features
- Nine different case style options.
- Live preview of how layer names will appear.
- Option to include or exclude sublayers.
- Simple, user-friendly interface.
ㅤ
Installation
1. Download the Layer Name Case Converter.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.
ㅤ
➊ Running the Script
- Open your Adobe Illustrator document.
- Go to File > Scripts > Layer Name Case Converter.
- Use the dialog interface that appears.
ㅤ

ㅤ
➋ Using the Interface
1. Preview Section: Shows how a sample layer name will appear with the selected case style.
ㅤ
2. Case Style Options: Choose from nine different case styles:
- lowercase: converts all characters to lowercase.
- UPPERCASE: converts all characters to uppercase.
- Title Case: capitalizes the first letter of each word.
- Sentence case: capitalizes only the first letter of the text.
- camelCase: removes spaces, keeps first word lowercase, capitalizes first letter of subsequent words.
- PascalCase: removes spaces and capitalizes the first letter of each word.
- snake_case: converts to lowercase and replaces spaces with underscores.
- CONSTANT_CASE: converts to uppercase and replaces spaces with underscores.
- kebab-case: converts to lowercase and replaces spaces with hyphens.
ㅤ
3. Include Sublayers Option:
- Check this box if you want to convert the case of sublayers as well.
- Uncheck if you only want to affect top-level layers.
ㅤ
4. Action Buttons:
- OK: Apply the selected case style to your layers.
- Cancel: Close the script without making changes.
- Click the ⏼ icon to access the user guide.
ㅤ
ㅤ
➌ Applying the Changes
- Select your desired case style from the options.
- Check or uncheck the "Include sublayers" option as needed.
- Click "OK" to apply the changes.
- A confirmation message will appear showing how many layers were renamed.
ㅤ
ㅤ
☻ Conclusion
The Layer Name Case Converter script is a powerful tool for designers seeking to maintain consistency and organization within their Adobe Illustrator files. With nine different case styling options and an intuitive interface, this script streamlines the often tedious task of manually reformatting layer names.
Whether you're preparing files to share with a team, implementing a naming convention across projects, or simply organizing your workflow, this script offers a quick solution that saves valuable time. The ability to process both top-level layers and sublayers with a single click makes it particularly valuable for complex documents with extensive layer hierarchies.
ㅤ
ㅤ