Home / CSS & Design Tools / Cubic Bezier Generator
CSS & Design Tools

Cubic Bezier Generator

Shape a CSS cubic-bezier easing visually, preview the motion at the real duration, and copy ready-to-use CSS. Compare curves and framework outputs when you need them.

Shape your easing curve

Drag the two handles, feel the motion, then copy the exact cubic-bezier() value. Start simple; comparison and framework outputs are under More tools.

Runs in your browser
0% time100% time01
Current curveX must stay 0–1 · Y may overshoot
cubic-bezier(0.25, 0.1, 0.25, 1)
Drag a handle or choose a preset.
YOUR EASINGcubic-bezier(0.25, 0.1, 0.25, 1)
Live motion preview
—progress at 50% time
—curve behavior
Valid CSSx1/x2 range check
More tools — compare, frameworks & saved curves

Compare another curve

Keep your main curve visible while testing a second easing at the same duration.

cubic-bezier(0.42, 0, 0.58, 1)

Implementation output

Same curve, formatted for the surface you are shipping.

More easing presets

Start from common sine, quad, cubic and back curves without crowding the main editor.

Saved curves

Saved only in this browser. Names are local and never included in shared URLs.

Share boundary

The share link carries only numeric curve settings, duration and preview mode in the URL. Saved names stay local.

CSS requires X1 and X2 between 0 and 1. Y values may be negative or above 1 for anticipation/overshoot.
Time is the X axisX1 and X2 must remain between 0 and 1 or CSS rejects the timing function.
Overshoot is allowed on YY can go below 0 or above 1, so back/anticipation curves are valid even when they leave the box.
Feel it at the real durationA curve that feels sharp at 150 ms can feel lazy at 900 ms. Preview before copying.

Design the curve, feel it, then ship it

Drag the two handles or type exact control points, preview the motion at your real duration, then copy the result. Paste an existing cubic-bezier(), CSS declaration, Tailwind arbitrary easing, keyword, or four-number array to continue from a curve you already use.

Compare without clutter

The main editor stays focused on one curve. Open More tools only when you need a second curve, a larger preset library, saved curves, or framework-specific output.

Implementation output

Copy CSS, Web Animations API, Tailwind, Framer Motion, GSAP CustomEase, a sampled CSS linear() approximation, or the raw four-number array. Preview the real component behavior before shipping.

Privacy

Editing and saved curve libraries stay in this browser. Share links contain only the numeric curve settings, duration, preview mode, and optional comparison curve.

Search by task, tool name, or category. Press Esc to close.
Start typing to find a tool.