← CSS Easing Bezier Generator

How to Use the CSS Easing Bezier Generator, Step by Step

Reviewed by the OnlineFree.app team · Updated

What the CSS Easing Bezier Generator does

The CSS Easing Bezier Generator is a one-screen playground for shaping animation timing: drag two control handles on a curve, replay a live preview, and copy ready-to-paste code for CSS, Tailwind or Framer Motion. It needs no sign-up and no build step, and the curve you draw never leaves the browser tab.

Easing is the mapping between elapsed time and progress. A linear curve moves at a constant rate; every other curve front-loads or back-loads the motion, which is why two animations with identical durations can feel completely different. The MDN reference for CSS easing functions describes these curves formally.

The tool works on cubic-bezier curves — the same four-number format CSS accepts. Two endpoints are fixed at (0, 0) and (1, 1); you control the two handles in between. If you only need to feel how much a single handle changes the motion, this is the fastest loop we know of.

How do you shape a curve by dragging handles?

Open the CSS Easing Bezier Generator and stay in cubic-bezier mode. Grab P1, the first handle out of the start, and drag. Its x position is locked between 0 and 1 because time cannot run backwards, but y is allowed from -0.5 to 1.5, so you can pull the curve above 1 for overshoot or below 0 for a wind-up before the motion begins.

Pull P1 downward to delay the start, which reads as an ease-in feel. Pull P2 upward and leftward to brake later, which reads as an ease-out feel. Small changes matter: on the standard ease-out, cubic-bezier(0, 0, 0.58, 1), moving P1's y from 0 to 0.2 is already a noticeably softer entry.

Start from a keyword-built curve instead of a blank graph. In CSS, ease is cubic-bezier(0.25, 0.1, 0.25, 1), ease-in is (0.42, 0, 1, 1) and ease-in-out is (0.42, 0, 0.58, 1). Type one of those in, then move a single handle at a time so you can feel exactly which one did what.

Match the preview to the property you ship

The preview select offers transform: translateX, transform: scale, opacity and clip-path. Change it before you fall in love with a curve. Overshoot reads as a confident settle on translateX, but on opacity the browser clamps progress above 1 and the effect simply disappears; on scale the same curve can look like a wobble.

Set the duration slider — 50 to 3000 ms, defaulting to 600 ms — to the value you will actually ship. A curve tuned at 300 ms feels sluggish at 1200 ms, and the same numbers do not translate between a 24 px icon and a full-width panel that travels 800 px.

Loop is off by default, which we did deliberately. One deliberate replay, or a few clicks of Replay with the ghost trail enabled, tells you more about a curve than a background animation you stop noticing after ten seconds.

When should you use spring mode instead?

Switch to spring when you want overshoot that decays rather than a one-shot curve. Two sliders appear: stiffness from 40 to 400 and damping from 5 to 40. Low damping, roughly under 15, visibly bounces; damping above about 30 settles with little or no overshoot; higher stiffness reaches the target sooner.

A real spring is not a cubic-bezier. Because CSS cannot express damped oscillation as a bezier, the tool samples the spring into a CSS linear() stop list or, for the simpler case, the closest cubic-bezier approximation. As of 2026 linear() is supported in current evergreen browsers, but check your own support matrix before relying on it.

Framer Motion is the exception: it understands springs natively, so the stiffness and damping you tune here transfer as real physics rather than an approximation. That is the tab to trust when a bounce has to be exact.

Copy the right snippet for your stack

Three tabs hold the output. CSS gives you transition-timing-function: cubic-bezier(...), or animation-timing-function: linear(...) in spring mode, bundled with the duration you set. Tailwind gives either theme.extend.transitionTiming for a named utility or the arbitrary ease-[cubic-bezier(0.34,1.56,0.64,1)] form.

Framer Motion exports transition: { duration, ease: [...] } or { type: 'spring', stiffness, damping }. Watch the units: the slider works in milliseconds, Framer Motion expects seconds, so the tab converts your 600 ms into 0.6 before you copy.

Each tab has its own copy button, so you can lift the CSS and the Tailwind variant without retyping numbers. Paste it into your stylesheet or config, then confirm the result on the real component — the preview stage is a controlled box, not your layout. The rest of OnlineFree.app's free online tools work the same in-browser way if you need more front-end utilities.

Mistakes we see when hand-tuning easing

The most common one is using ease-in-out for everything. It is a fine default, but a symmetric curve makes both ends equally slow; most interface motion wants a quick start and a gentle stop, which is closer to ease-out.

Second is judging a curve on the wrong property or the wrong distance. A bounce that reads well on a 40 px card can look broken on a full-screen modal, and an overshoot on clip-path can reveal edges you did not expect. Third is forgetting duration: easing and timing are one decision, not two.

Finally, do not paste overshoot curves onto properties that clamp, such as opacity or colour, and do not assume a spring preset matches your design system. Measure the numbers you already use, load them into the tool, and compare before replacing anything that ships today.

What the four cubic-bezier numbers mean

cubic-bezier(x1, y1, x2, y2) sets the two draggable handles of the timing curve. x1 and y1 are the coordinates of P1, x2 and y2 are P2, with the start fixed at (0, 0) and the end at (1, 1). The W3C easing functions specification defines how those control points are interpolated into progress over time.

The x values must stay between 0 and 1 because the curve has to move forward through time. The y values may go outside that range, and that is exactly what produces a value above 1 — the overshoot you see when a card springs past its resting position and settles back.

Try CSS Easing Bezier Generator free — no sign-up, works in your browser
Open the tool →

More free tools

Step-by-step guides in our blog & guides.

Timezone Converter Domain Age Checker Online Instagram Post Mockup Generator Ki Text Generator Kostenlos Tags Generator Free For Youtube PEM Certificate Decoder Arabic CV Builder (RTL Resume Generator) HEIC to JPG Converter UTF-8 Encoder Decoder PDF to Image Converter