Easily add a box behind your text layer.

This free script creates a rectangular shape behind every selected text layer. You can add padding, roundness and set the box color or add a random one.



Select some text layers
Click on Create
Compatibility : After Effects CS5, CS6, CC

Free material license

These scripts are copyrighted by Motion Boutique.
They are free for personal and commercial use but come “as is” with no warranty nor any free personal support.
Redistribution in any form is not allowed, instead always link to www.motionboutique.com for correct files.
By downloading any of these scripts, you agree the above terms.





Share this:Share on FacebookTweet about this on TwitterGoogle+Share on LinkedIn
  • Live Life Films

    Thanks for everything that you do for all of us filmmakers/videographers.

  • automatic_ab

    Very cool but I still trying to figure out how you guys got the dotted lines around the box as well as the one style in the video with the boxes w varying opacities

    • just modify the shape created by the script 🙂

      • Andy

        Still can’t see how to add padding to get the space between the fill and dotted line.. ?

        • duplicate the shape layer!

          • Sandesh

            I still get the errror 🙁

          • Sandesh

            Any solution??..i tried what jacob RG said..but its not workin for me!

          • collett

            make sure you copy the (TextBox_Resources) folder as well as the jsx.

  • Alex Kappler

    Awesome!! Thanks Guys!! Love your work!

  • EasyEast

    I selected my text and I press on the Textbox script, its says: unable to execute script at line … .. folder or file does not exist ??? What do I wrong?

    • EasyEast


      • luckyy

        Whats the solution? I get unable to execute script at line 54

      • tell us how you fixed that! 🙂

        • Jacob RG Canon

          I went to file in After Effects, scrolled down to scripts, click that to run a script and then select the script I wanted. It opens up. While it would not embed in After Effects, it was still usable.

          • putnam7676

            Hey guys – tried “run script,” and I still get the same error message – “unable to execute script at line 54. File or folder does not exist.” I’d love to use this script. Anyone know how to make this work!?

      • Jacob RG Canon

        Please tell us how you fixed that error.. especially if it is the same as the “unable to execute script at line 54.”

  • Jacob

    I love this, but need to match the color signature for the background from a colleague… There is no eyedropper function. Any chance of an update or inclusion.

    • Assuming you’re on mac, you can click on the “…” and use the eyedropper.
      I presume there’s a similar solution on win.

      • Jacob RG Canon

        I was actually directed to go in and use the grayscale / RGB area and put in the numbers directly. There is not an eyedropper in After Effects per se. I found the color coordinates by first applying a color overlay and then using the eye dropper in the overlay section to show me the color coordinates. Any way, I do love it.

        • Carlos Robles

          You can just create it in any color, and then change the color of the shape layer it creates. Thats the best way to match colors.

  • Michele Tondato

    Thanks man!!!

  • LoveYourScripts

    Doesn’t seem to work if you use keyframes to change the text.
    Unless this is just my problem? Any work arounds for this? 🙂

    • You’re right it won’t change if you change the text.
      For each text you have to re-apply Textbox.

  • Pingback: After Effectsで簡単にテキストボタン(テキストボックス)を作成する無料スクリプト()

  • Pingback: Scripts: Crie o efeito de unfold ou "biombo" com o Script Paravent | Dicas e Tutoriais de After Effects()

  • TestingScripts

    I also get Unable to execute script at line 54. File and folder does not exist. Anyway to fix this?

  • TestingScripts

    Fix it, but can’t seem to get the text box to follow the text if i use animation presets?

  • smail

    I can’t seem to make it work on CS6, i got this error :”Unable to execute script at line 54, File or folder does not exist” Please advice !

  • smail

    Sorry i didn’t copy all the files !

  • Gary Ellison

    Is this still available for download? I can’t see a link…

    • Download link has been fixed now!

      • Gary Ellison

        Awesome, thank you! This will save me a ton of time.

  • You guys are doing such a great job. Thank you so much for all your efforts

  • Dean Balloch

    The fix for “unable to execute script at line 54. File or folder does not exist.” is simply to place the FULL FOLDER that opens from the zip file in the AE scripts folder, rather than just the JSX file.

  • Florian

    I’m trying to use TextBox on AfterEffects CC, but I can’t find the Panel. I put the folder “TextBox_1.4” in the “Scripts” folder but where are we supposed to find the “TextBox” Panel in the AfterEffects? In “Window” menu I can’t find it… 🙁 Thanks in advance

  • Gianflavio

    It just creates a shape layer the same size as the text box. Not too useful

  • Multi-line function please!!