UTILS.
Private by default
⌒

CSS Easing Generator

Pick or build a cubic-bezier easing and replay it on an animated preview dot.

Your files stay on this device

Files are processed in your browser, never uploaded. The site downloads code and assets to run the tools. No accounts or trackers.

Use Download to save this tool as one HTML file for offline use.

Privacy →

About this tool

Choose a preset or enter the four control points to craft a cubic-bezier easing and watch it animate, all in your browser.

The four boxes are the control points x1 y1 and x2 y2. In the output the x values are clamped to 0 to 1, since the source notes that values outside it are invalid CSS, while y values may go below 0 or above 1 for overshoot. Numbers are rounded to two decimals and an empty box counts as 0.

The output is a ready-to-paste transition-timing-function declaration, and Copy places that whole line on the clipboard. The preview dot slides across the track over 1.1 seconds with the same curve and restarts on every change. Editing a box switches the preset menu to custom; choosing a preset overwrites the four boxes.

Frequently asked questions

What do the presets do?
Each preset fills the four control points for a standard curve like ease-in or linear, which you can then fine-tune.
How do I see the easing again?
Press Replay to re-run the dot animation using the current timing function.
Can y values go outside 0 to 1?
Yes. y1 and y2 are not clamped, so the dot can overshoot its end point and come back.
What if I type an x value above 1?
The box keeps your text, but the output uses 1 (or 0 for a negative), so the copied line stays valid.

More tools