Docelora
ToolsAboutContact
Design tools

Cubic Bezier Generator

Fine-tune how animations accelerate and slow down – make a menu slide in smoothly or a button bounce slightly – with a visual curve and a side-by-side motion preview.

Quick answer: drag the red and dark handles (or type values), then select Play to compare the motion with linear timing.

Cubic Bezier Generator

Drag handles · 20 presets · motion preview

Red: your curve · Grey: linear

Private: runs entirely in your browser. Nothing is recorded or uploaded.

Keyword values

Keywordcubic-bezier
ease0.25, 0.1, 0.25, 1
ease-in0.42, 0, 1, 1
ease-out0, 0, 0.58, 1
ease-in-out0.42, 0, 0.58, 1

Related tools

Frequently asked questions

What is a cubic Bezier curve in CSS?

A timing function defined by two control points (x1, y1) and (x2, y2) that sets how an animation’s progress changes over time.

Why must x be between 0 and 1?

x is time, which can only move forwards from start (0) to end (1).

Why can y go below 0 or above 1?

That makes the motion overshoot or pull back, like the “back” presets.

Which easing should I use for menus?

Ease-out curves feel responsive for things entering the screen; ease-in suits things leaving.

What are easeOutBack and friends?

Common names for standard curves used by animation libraries; their values are listed in the presets.

How do I use the value?

In transition-timing-function or animation-timing-function, or as the easing in the Web Animations API.

Can I edit with the keyboard?

Yes – Tab to a handle and use the arrow keys, with Shift for bigger steps.

Should I respect reduced motion?

Yes – wrap big animations in @media (prefers-reduced-motion: no-preference).

Is it free?

Yes – no sign-up and no attribution needed.

Can I use the code commercially?

Yes. The code you create is yours to use anywhere.

Is anything uploaded?

No. The code is generated in your browser.

Does it work on a phone?

Yes – the controls and preview adapt to small screens.

Which browsers support the result?

All current browsers. Check older browsers you need to support on caniuse.com.

How do I copy the code?

Select Copy under the result, or download it.

Does the preview match my site?

The preview uses the same CSS, but your site’s own styles (fonts, sizes, resets) can change how it looks.

Do I need a framework?

No – the output is plain HTML, CSS or SVG.

Does it work offline?

Yes, once the page has loaded.

Can I edit the code afterwards?

Yes – it is readable, plain code.

Is the code minified?

No – it is formatted so you can read and adjust it. Minify it with your build tools if you like.

Will it work with Tailwind or Bootstrap?

Yes – add the CSS to your own stylesheet; it does not depend on any framework.

Last reviewed: 14 November 2026.