About Cubic Bezier Editor
An easing curve decides how a transition or animation spends its time: slow then fast, fast then gentle, or past the target and back. Drag the two control points of the curve, or set them exactly with the sliders, and press Play to see a dot travel with your curve next to one moving at a constant speed.
Start from one of the CSS keywords or a few curves that overshoot or wind up, or paste a timing function you already use to fine-tune it. The tool writes the cubic-bezier() value and ready-made transition and animation declarations.
How it works
- The curve runs from (0, 0) to (1, 1). The horizontal axis is time and the vertical axis is how far the motion has gone.
- You move the two inner control points. Time values stay between 0 and 1, as CSS requires; progress values may go from -1 to 2, which makes the motion overshoot or pull back.
- Play animates a dot with your curve and another at a constant speed, using the browser’s own animation engine, so you see exactly what a page will do.
- The curve is kept in the page address, so a copied link opens the same curve.
Questions
Why can the time values not go below 0 or above 1?
CSS rejects a cubic-bezier() whose x values fall outside 0 to 1, because time cannot run backwards. Only the progress values (y) may leave that range.
Can I edit a curve I already have?
Yes. Paste a keyword such as ease-out, or a cubic-bezier() with four numbers, and press Apply. A declaration such as animation-timing-function: … is accepted too.
Does it handle steps() or the linear() function?
No. This tool edits cubic-bezier() curves and the five keywords that are such curves. steps() and multi-point linear() timing functions are a different kind of curve.
Is my curve sent anywhere?
No. Everything is drawn and calculated in your browser. The four numbers are kept only in the page address, so a link you copy reopens the same curve.
Everything you enter here is processed in this browser tab. Nothing is uploaded, logged or shared. How privacy works here.