# Cubic Bezier Generator

> Shape CSS easing curves and preview the motion live. Runs entirely in your browser — nothing is uploaded.

Source: https://toffeekit.com/tools/cubic-bezier-generator

**Category:** [Design](https://toffeekit.com/category/design) · **Price:** Free · **Runs:** in your browser, nothing is uploaded

Open the tool: https://toffeekit.com/tools/cubic-bezier-generator

**Also useful for:** cubic-bezier, easing, timing function, css animation, transition, ease-in-out

## What you can do

- **Springy overshoot** — easeOutBack pops past the target and settles back. ([open with this preset](https://toffeekit.com/tools/cubic-bezier-generator?preset=easeOutBack))
- **Smooth in and out** — A gentle cubic curve for modals and page transitions. ([open with this preset](https://toffeekit.com/tools/cubic-bezier-generator?preset=easeInOutCubic))
- **Snappy UI** — Fast start, long soft landing for menus and toasts. ([open with this preset](https://toffeekit.com/tools/cubic-bezier-generator?preset=easeOutExpo))

## How it works

1. Start from a CSS keyword or an easing such as Expo, Back or Cubic in the preset grid.
2. Drag the two dots on the Curve, or type exact numbers into x1, y1, x2 and y2.
3. Watch the Preview boxes and change Duration, Compare with and Animate to judge the motion.
4. Copy the cubic-bezier() value, the transition line or the Tailwind ease class.

## FAQ

### What do the four cubic-bezier numbers mean?

They are the x and y of two control points. The curve always runs from 0,0 to 1,1, and the points bend it to change speed over time.

### Why can y go below 0 or above 1 but x can't?

X is time, which must stay between 0 and 1. Y is progress, so values outside that range make the animation overshoot or pull back, like the Back easings.

### What is the cubic-bezier for ease, ease-in and ease-out?

ease is 0.25, 0.1, 0.25, 1. ease-in is 0.42, 0, 1, 1, ease-out is 0, 0, 0.58, 1 and ease-in-out is 0.42, 0, 0.58, 1.

### Which easing should I use for UI animations?

Ease-out curves feel responsive for things that enter or open, ease-in suits things that leave, and ease-in-out works for moves from one place to another.

### Can I use these curves in JavaScript animations?

Yes. The Web Animations API accepts the same cubic-bezier() string as its easing option, and most animation libraries accept the four numbers.

### Is Cubic Bezier Generator free and private?

Yes. It's free with no sign-up or limits, and it runs entirely in your browser, so what you type or paste never leaves your device. It works on phones and computers alike.

## Privacy

Cubic Bezier Generator runs entirely in your browser. Your files and text are processed on your device and are never uploaded.

## Related tools

- [Color Picker & Converter](https://toffeekit.com/tools/color-picker) — Pick a color and convert HEX, RGB, HSL, OKLCH, CMYK.
- [Gradient Generator](https://toffeekit.com/tools/gradient-generator) — Build linear, radial and conic CSS gradients.
- [Contrast Checker](https://toffeekit.com/tools/contrast-checker) — Check WCAG contrast and find passing colors.
- [Palette Generator](https://toffeekit.com/tools/palette-generator) — Make harmonious palettes from one base color.
- [Shade Scale Generator](https://toffeekit.com/tools/tailwind-shade-generator) — Turn one color into a Tailwind 50–950 scale.
- [Box Shadow Generator](https://toffeekit.com/tools/box-shadow-generator) — Design layered CSS box shadows visually.

