Free online tools

CSS Transform Generator

Combine movement, rotation and scaling. Compare how switching the first two functions changes the matrix.

Enter your values

This tool processes your input in your browser.

Result

Choose transform order deliberately

CSS list order affects the matrix. Rotating after translating in the list places the translation in a different coordinate system. Compare the two orders and watch the e and f translation terms change.

Read the six matrix numbers

The first four describe the orientation and scale of the transformed axes. The last two describe the translated origin. The example does not override the element’s transform-origin.

Frequently asked questions

Can I use a negative scale?

Yes. A negative value reflects that axis. Zero collapses that dimension and produces a noninvertible matrix.