Yes, Scratch is free. You don't need to buy a license, nor is there a premium version. It's a completely free program designed for educational purposes.