Favorite places of your favorite city
Home
Add to preferred sources on Google

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.

Curve editor

X: 0–1; Y: −2–3. Enter up to three decimal places.

Drag a numbered point, or use arrow keys for 0.001 and Shift + arrows for 0.01. The coordinate fields are an alternative if dragging is unavailable.

Output progress: -0.1 … 1.1 · Input progress: 0 … 1

Import function

Import is a draft until you apply it. Unsupported syntax does not change the current curve.

CSS and preview

Y outside 0–1 can undershoot or overshoot; this preview uses translation.

Motion comparison

100–5000 whole milliseconds

The preview stays static while reduced motion is requested or the preference is unavailable.

Custom

Linear

The tool adds no upload, saved curves or input-bearing links.

Create and copy a CSS easing curve

  1. 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.
  2. 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.
  3. 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

No. Each x coordinate independently lies in zero through one. A reversed control-point x order can still be a valid easing curve, so the points are not sorted or swapped.

Those coordinates can create undershoot or overshoot in output progress. The preview uses translation so that behavior stays visible; some other CSS properties clamp their values. This editor supports y from minus two to three.

No. All authoring paths use the same thousandth-grid tuple. Unsupported typed precision is rejected; pointer movement snaps to that documented grid. The graph, native preview and copied literal use the same accepted values.

A drag keeps its starting view fixed so the mapping does not move beneath the pointer. Choose Full Y range or enter coordinates to reach beyond that view. Fit changes only the display, and keyboard editing can refit when needed.

The import field is an unapplied draft. Apply validates its supported syntax and commits it; invalid or pending import text leaves the current authored curve unchanged. Use the coordinate fields for live authoring.

It stays static while the reduced-motion preference is unknown or requests reduction, and native animation or usable geometry may be unavailable. The curve graph and CSS still work. A preference change never launches movement automatically.

Copy function writes only the cubic-bezier value. Copy CSS writes transition-timing-function and animation-timing-function declarations. Neither creates a complete animation or supplies a duration; use the code in your own setup.

No curve library, saved history, share link or input upload is added. A new document starts with Ease and the default preview duration. A mounted language change keeps the values but stops active movement or dragging.

Sources

References for easing syntax, native motion and accessibility.

Reviewed 15 November 2026.

Y bounds, precision and preview behavior are choices of this editor.

SVG to PNG

Convert a local SVG file or pasted markup into PNG, with explicit dimensions, transparency and bundled fonts.

Open tool — SVG to PNG

CSS Filter Generator

Order and repeat CSS effects, compare a specimen and copy the exact filter declaration.

Open tool — CSS Filter Generator

Fluid Font Size Calculator

Create root-relative CSS from viewport endpoints and inspect the copied size model.

Open tool — Fluid Font Size Calculator

CSS Button Generator

Style native button states, inspect keyboard focus and copy HTML and CSS.

Open tool — CSS Button Generator

CSS Border Radius Generator

Edit eight corner radii, preview a box and copy CSS in pixels or percentages.

Open tool — CSS Border Radius Generator

CSS 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 Generator

CSS 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 Generator

CSS Text Shadow Generator

Build ordered text shadows, preview plain text and copy exact CSS.

Open tool — CSS Text Shadow Generator

CSS 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 Generator

CSS Box Shadow Generator

Create ordered CSS box-shadow layers with a live preview and copyable code.

Open tool — CSS Box Shadow Generator

Image 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 Watermark

CSS Gradient Generator

Create linear or radial CSS gradients with editable colors, opacity and stops.

Open tool — CSS Gradient Generator

Color Converter

Convert supported sRGB HEX, RGB and HSL literals with alpha, explicit precision and current code Copy.

Open tool — Color Converter

Image 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 Reader

Color 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 Checker

Print Size & Resolution Calculator

Calculate print dimensions, required pixels and effective PPI with fit or crop.

Open tool — Print Size & Resolution Calculator

Aspect Ratio Calculator

Find a width-to-height ratio or calculate a matching pixel size from one target dimension.

Open tool — Aspect Ratio Calculator

Image Compressor

Try to fit a JPEG, PNG or WebP within a target file size, with measured results and optional smaller dimensions.

Open tool — Image Compressor

HEIC 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 JPG

Image 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 Converter

Photo Collage Maker

Arrange local photos in a grid, adjust crops and spacing, and download PNG or JPEG.

Open tool — Photo Collage Maker

Rotate & 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 Images

Image Cropper

Crop one local JPEG, PNG or WebP to exact pixels with visual and numeric controls. Download PNG or JPEG.

Open tool — Image Cropper
View all tools in this category