Tools

Home
JSON FormatterSQL FormatterJS ValidatorMinify CSS
Merge PDFCompress PDFImage to PDF
JPG to PNGPNG to WebPCrop Image

CSS Easing Curve Editor

Visually design animation easing curves with draggable control points, live preview, and copy CSS

Your files never leave your browser
Duration:
0.5s
Curve Editor
cubic-bezier(0.25, 0.10, 0.25, 1.00)
Preview & Output
transition-timing-function: cubic-bezier(0.25, 0.10, 0.25, 1.00);
animation-timing-function: cubic-bezier(0.25, 0.10, 0.25, 1.00);

Drag two control points on a visual canvas to shape your CSS cubic-bezier() timing function, then preview the animation in real time and copy the output straight into your stylesheet. No more guessing values, refreshing, and hoping the motion feels right. And everything runs in your browser. Nothing gets uploaded.

How It Works

Drag Control Points
→
Preview Animation
→
Copy CSS Output

The canvas shows a standard bezier curve mapped from (0,0) to (1,1). Two control points — P1 and P2 — shape the curve between those anchors. Dragging them changes the four numeric values in cubic-bezier(x1, y1, x2, y2). The ball preview uses requestAnimationFrame to animate with your exact curve, so what you see here is what you get in production.

Examples

Snappy Modal Entrance

A modal that pops in fast then settles into place — the "overshoot and spring back" feel users associate with native apps.

INPUT
Preset: ease-out-back P1: (0.34, 1.56) P2: (0.64, 1.00)
OUTPUT
transition-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1);

Slow-Start Loading Bar

Progress bars that crawl at first then accelerate feel more honest than linear ones. Users perceive them as faster even though the total duration is the same.

INPUT
Preset: ease-in-quad P1: (0.55, 0.085) P2: (0.68, 0.53)
OUTPUT
animation-timing-function: cubic-bezier(0.55, 0.085, 0.68, 0.53);

Custom Tooltip Fade That Doesn't Feel Sluggish

The default ease makes tooltips appear too slowly when paired with a 200ms duration. A custom curve that front-loads the opacity change fixes this — the tooltip is 80% visible within the first 60ms, so it feels instant but still has a soft landing.

INPUT
Custom curve P1: (0.16, 1.00) P2: (0.30, 1.00)
OUTPUT
transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);

Who Uses This

👨‍💻 Front-End Developers

Dialing in transition curves for buttons, modals, and page transitions without the guess-and-refresh cycle.

🎨 UI/UX Designers

Prototyping motion specs and handing developers exact cubic-bezier values instead of vague "make it bouncy" notes.

🎮 Game UI Designers

Creating custom easing for health bars, score counters, and menu animations in web-based games.

📱 Mobile Web Developers

Testing how easing curves feel on touch interactions before shipping to production on slower devices.

Common Mistakes

Using the same easing for enter and exit animations

An ease-out curve works great for elements appearing on screen, but it feels wrong when they leave. Exits usually need ease-in — fast start, gradual fade. Pair them intentionally or the motion looks lopsided.

Overshoot values that cause layout shifts

Y values above 1.0 make the animated property temporarily exceed its target. That's fine for transform, but if you're animating width or height with overshoot, the element briefly grows larger than intended and can push surrounding content around. Stick to transform-based animations when using bounce curves.

Picking a curve that looks cool but lasts too long

A dramatic ease-in-out-back curve at 800ms feels fancy in the editor. In a real app, users will click a button and wait almost a full second for the result. Keep interaction animations under 300ms. Reserve longer durations for decorative or background motion only.

Technical Details

Frequently Asked Questions

What is cubic-bezier in CSS?

cubic-bezier(x1, y1, x2, y2) is a CSS timing function that controls animation speed over time. The four numbers define two control points on a curve from (0,0) to (1,1). Instead of a constant speed, the animation accelerates and decelerates based on the shape of that curve.

Can cubic-bezier values be negative?

The Y values can be negative — that's how you get the "pull back before moving forward" effect. X values have to stay between 0 and 1 because they represent time, and time doesn't go backwards. A negative Y1 creates that subtle windup motion at the start of an animation.

What's the difference between ease and ease-in-out?

Both slow down at the start and end, but ease (the browser default) is asymmetric — it accelerates faster and decelerates more gently. ease-in-out is symmetric, with equal acceleration and deceleration. For most UI work, ease actually feels better because the faster start makes interactions feel responsive.

How do I make a bounce animation with CSS?

Set the Y2 value above 1.0 — something like cubic-bezier(0.34, 1.56, 0.64, 1). The element will overshoot its target and snap back, creating a bounce. For a stronger bounce, push Y2 higher. Just keep in mind that this only works well with transform properties; animating layout properties with overshoot can cause jank.

Is this CSS easing editor free to use?

Yes, completely free with no signup or limits. The editor runs entirely in your browser — no data gets sent anywhere. Bookmark it and it'll even work without an internet connection.

Share: