CSS Cubic Bezier Generator
Shape transition and animation pacing with a visual cubic-bezier editor. Set control points, use a preset or apply an existing function, then copy the current easing. The movement comparison runs only when requested and respects reduced motion.
Create and copy a CSS easing curve
- Start from Ease or choose a preset. Edit x1, y1, x2 and y2, or move a labelled control point with pointer or keyboard. The editor uses steps of 0.001; Shift and arrow keys move a handle by 0.01.
- Use Fit curve or Full Y range to inspect the graph. Run once compares the current easing with linear motion at the same duration; reduced-motion mode keeps the preview static. Editing stops a run without restarting it.
- Copy the function or the two timing-function declarations. Supply your own animation or transition setup and duration. A pasted function is only an import draft until Apply succeeds.
What the curve means
The endpoints stay at zero input and output, then one input and output. Horizontal position is elapsed input progress; vertical position is eased output progress. Control handles shape the curve and generally are not points that the curve passes through.
Each x coordinate must independently lie between zero and one. Point one may have a larger x than point two; the editor does not sort them. The y editor range is minus two to three, allowing negative output and output beyond one.
This editor accepts up to three fractional digits and uses one canonical coordinate tuple for graph, preview and Copy. Coordinate fields accept a dot or comma decimal, while CSS functions use dot decimals. Unsupported precision or values are rejected, not silently rounded into range.
Fit adjusts the graph view without editing the function. A drag keeps that view fixed and stays inside it; Full Y range or numeric entry reaches the full editor range. Keyboard and field changes can refit to keep a point visible.
Linear pacing and overshoot examples
Linear uses cubic-bezier(0, 0, 1, 1) and produces output progress equal to elapsed input progress. The geometric parameter used to trace a Bezier path is not the elapsed-time value, so reading the path at the same parameter is not a general timing calculation.
The Overshoot example is cubic-bezier(0.25, -1, 0.75, 2). At input 0.2265625 its output is -0.125, putting a translation before its nominal start by 12.5 percent of the travel. Later it can move beyond the nominal end before finishing at one.
Ease, Ease in, Ease out and Ease in out correspond to standard CSS curves, but Copy always uses an explicit cubic-bezier function. The preview reserves room for the current control range instead of clipping progress to zero through one.
Editor and preview limits
The editor is for one cubic-bezier function, not steps, piecewise linear easing, arbitrary CSS, a keyframe studio or a runtime scalar calculator. Its finite y range and thousandth precision are application limits, not the whole CSS grammar.
Import accepts one cubic-bezier function with four supported dot-decimal numbers. Keywords have presets; comments, declarations, exponents, variables and calc expressions are not imported. An unapplied or invalid import does not replace the current curve.
The comparison uses one translation and one linear reference, with a preview duration of 100 to 5000 whole milliseconds. It does not loop or autoplay. Native animation can be unavailable; reduced motion keeps the graph and CSS usable without movement.
Other CSS properties can clamp out-of-range values and hide overshoot. The copied declarations provide easing only, and the preview does not certify every animation composition, browser or property. Leaving or hiding the page stops its owned movement without automatic resume.
An in-page curve without saved history
The tool adds no upload, saved curve library, input-bearing URL or telemetry containing coordinates, pasted functions or generated CSS. Copy is explicit. Existing site services, extensions and your later use of the code are outside that limited behavior statement.
Cubic Bezier questions
Sources
References for easing syntax, native motion and accessibility.
- W3Cw3.orgCSS Easing Level 12023 Candidate Recommendation Draft: control points, x bounds and timing behavior.
- W3Cdrafts.csswg.orgCSS Easing Level 22026 editor draft: evolving easing definitions and parameter semantics.
- MDNdeveloper.mozilla.orgcubic-bezier()Syntax, overshoot and behavior of properties that clamp values.
- W3Cdrafts.csswg.orgWeb AnimationsNative animation effects, timeline and cancellation.
- MDNdeveloper.mozilla.orgprefers-reduced-motionUser preference for reduced movement.
Reviewed 15 November 2026.
Y bounds, precision and preview behavior are choices of this editor.
Related tools
SVG to PNG
Convert a local SVG file or pasted markup into PNG, with explicit dimensions, transparency and bundled fonts.
Open tool — SVG to PNGCSS Filter Generator
Order and repeat CSS effects, compare a specimen and copy the exact filter declaration.
Open tool — CSS Filter GeneratorFluid Font Size Calculator
Create root-relative CSS from viewport endpoints and inspect the copied size model.
Open tool — Fluid Font Size CalculatorCSS Button Generator
Style native button states, inspect keyboard focus and copy HTML and CSS.
Open tool — CSS Button GeneratorCSS Border Radius Generator
Edit eight corner radii, preview a box and copy CSS in pixels or percentages.
Open tool — CSS Border Radius GeneratorCSS Grid Generator
Build a bounded CSS Grid example with editable tracks, placement and named areas. Preview it, copy CSS or HTML and download the same standalone example.
Open tool — CSS Grid GeneratorCSS Flexbox Generator
Build a Flexbox example with container and item controls, explicit layout axes, matching CSS and HTML, and a local complete-example download.
Open tool — CSS Flexbox GeneratorCSS Text Shadow Generator
Build ordered text shadows, preview plain text and copy exact CSS.
Open tool — CSS Text Shadow GeneratorCSS Transform Generator
Compose repeatable 2D CSS transforms, edit px or percentage translation and origin, inspect a reference box and copy the exact current declarations.
Open tool — CSS Transform GeneratorCSS Box Shadow Generator
Create ordered CSS box-shadow layers with a live preview and copyable code.
Open tool — CSS Box Shadow GeneratorImage Watermark
Add a text or logo watermark to a batch of images, review each result and download individual files or a ZIP.
Open tool — Image WatermarkCSS Gradient Generator
Create linear or radial CSS gradients with editable colors, opacity and stops.
Open tool — CSS Gradient GeneratorColor Converter
Convert supported sRGB HEX, RGB and HSL literals with alpha, explicit precision and current code Copy.
Open tool — Color ConverterImage to Text (OCR)
Recognize printed text in local PNG or JPEG images, choose a language and review or correct the result before copying or downloading.
Open tool — Image to Text (OCR)QR Code Reader
Read one QR code from a local PNG or JPEG and inspect its text or content bytes without opening links.
Open tool — QR Code ReaderColor Contrast Checker
Compare foreground and background colors, adjust opacity and check WCAG numerical contrast thresholds for text and essential interface details.
Open tool — Color Contrast CheckerPrint Size & Resolution Calculator
Calculate print dimensions, required pixels and effective PPI with fit or crop.
Open tool — Print Size & Resolution CalculatorAspect Ratio Calculator
Find a width-to-height ratio or calculate a matching pixel size from one target dimension.
Open tool — Aspect Ratio CalculatorImage Compressor
Try to fit a JPEG, PNG or WebP within a target file size, with measured results and optional smaller dimensions.
Open tool — Image CompressorHEIC to JPG
Convert supported HEIC photos locally into full-size JPG copies, with quality and background controls and verified individual or ZIP downloads.
Open tool — HEIC to JPGImage Converter
Convert supported PNG, JPEG and WebP images locally with batch targets, transparency, background and quality controls, then review and download the encoded files.
Open tool — Image ConverterPhoto Collage Maker
Arrange local photos in a grid, adjust crops and spacing, and download PNG or JPEG.
Open tool — Photo Collage MakerRotate & Flip Images
Rotate or mirror a local batch of static PNG, JPEG and WebP images, then review and download the processed results.
Open tool — Rotate & Flip ImagesImage Cropper
Crop one local JPEG, PNG or WebP to exact pixels with visual and numeric controls. Download PNG or JPEG.
Open tool — Image Cropper