Developer tools

Cubic-bezier easing generator

Shape an easing curve, watch it move, and copy the cubic-bezier() value for CSS transitions and animations.

Runs in your browser. Nothing you enter is uploaded.

Drag the two handles to shape the curve.
Preview

About this tool

The cubic-bezier generator lets you shape an easing curve by dragging two handles or using sliders, then copy the cubic-bezier() value for CSS. The x values stay between 0 and 1, while y can go from -0.5 to 1.5 for overshoot. A preview runs your curve next to a linear one.

Why can’t x go below 0 or above 1?
CSS only accepts x values from 0 to 1 in cubic-bezier(), because x stands for time. The y values have no such limit.
Which presets are included?
ease, ease-in, ease-out, ease-in-out and an ease-out-expo curve. Picking one fills the handles, and you can adjust it from there.