After Effects – Text Box Resizer Script

This download includes an After Effects script that automates the creation and customization of a styled text layer and background box in After Effects, allowing users to quickly generate well-formatted text elements with matching background rectangles that adapt in size and style.

What’s provided?

• After Effects Script

• Documentation on how to install

• Video tutorial

Key Features and Benefits

Text Input & Styling
• Enter custom text directly in the panel
• Set casing (UPPERCASE, lowercase, Title Case)
• Adjust tracking (letter spacing)

Auto-Resizing Behavior
• Free Flowing: Text box grows as text changes
• Auto-Resize: Scale text to fit within a max width
• Fixed Box: Enforce fixed box width (resizes text accordingly)

Alignment Control
• Align text and box: Left, Center, or Right

Color Customization
• Set text color, box fill color, and stroke color using color pickers

Box Styling Options
• Toggle fill and stroke
• Control stroke width
• Adjust padding (top, bottom, left, right)
• Set rounded corner radius

UI Panel Integration
• Built as a resizable ScriptUI panel, making it dockable in the AE interface

Free vs Pro
Feature Free Version Pro Version
Text Input & Case Control Yes Yes
Tracking Adjustment Yes Yes
Alignment (Left, Center, Right) Yes Yes
Color Pickers (Text, Box, Stroke) Yes Yes
Fill & Stroke Toggle Yes Yes
Stroke Width Control Yes Yes
Box Padding Control No Yes
Free Flowing Text Mode Yes Yes
Auto-Resize Text Mode Yes Yes
Fixed Box Width Mode (Important Feature) No Yes
Rounded Corners No Yes

Box Properties

User Interface

User Interface

Video Tutorial

FAQ

Must I have Adobe After Effects to use this script?
Yes, you have to be using Adobe After Effects.

How do I install the script?

Place the .jsx script in the appropriate folder.

Windows: C:\Program Files\Adobe\Adobe After Effects (version)\Support Files\Scripts\ScriptUI Panels

macOS: /Applications/Adobe After Effects (version)/Scripts/ScriptUI Panels

Am I free to use this in my own commercial projects?
Yes, you’re good to go! The download covers personal and commercial use, so you can use the script in as many of your own projects as you’d like.