CSS Transform Generator
Translate (X/Y/Z), rotate (2D or 3D X/Y/Z), independent scaleX/scaleY, skew, perspective, and transform-origin, combined into a clean transform value that only lists the functions actually in use -- plus the equivalent 2D matrix(), presets, randomize, and export to CSS, Tailwind, SCSS or React.
What this tool does
Builds a CSS transform value from every
individual transform function — translate, rotate, scale, skew,
perspective — combined into one clean declaration that only
includes the functions actually changed from their default,
rather than a long string of no-op zero values.
2D and 3D
By default, translate X/Y, 2D rotate, independent scaleX/ scaleY, and skew X/Y cover the common cases. Turning on 3D reveals translateZ, rotateX, rotateY, and a perspective control — letting a card tilt or an isometric-style transform be built with real depth instead of only flat 2D effects.
Seeing the equivalent matrix()
Alongside the generated transform value, the
equivalent 2D affine matrix() is computed and shown
— useful for understanding what the individual functions actually
compose into, or for a context that expects the matrix form
directly. It only appears when 3D rotation isn't in use, since a
3D rotation needs a 4×4 matrix3d() instead.
Transform origin and presets
Transform-origin X/Y controls move the pivot point the transform applies around. Seven presets cover common patterns — horizontal and vertical flip, a 45° rotation, a skewed card, a 3D card tilt, and a 3D isometric look — plus a randomize button for quick exploration.
Getting the CSS out
Export as plain CSS, a Tailwind arbitrary-value class, SCSS, or a React inline style object, copyable with one click.
Privacy
Everything runs locally in your browser -- nothing you build is sent to a server.