Skip to main content
chain
R
Border Radius Generator

↑↓ nudge focused slider by 1 ( ±10)


                        

                        
Generated client-side · nothing uploaded
// about this tool

Border Radius Generator Online

Updated 2026-08-19

Generate CSS border-radius online for free. Round every corner at once or control each corner independently, switch between px and % units, and watch a live preview — then copy the ready-to-use border-radius declaration. Everything runs in your browser, so nothing you design is uploaded.

Remembering the clockwise corner order and picturing how percent radii behave is where hand-writing border-radius trips people up. This generator shows the exact shape as you drag, collapses to the short form when all corners match, and makes circles and pills obvious with the % unit — so the value drops straight onto any card, button, or avatar.

// how to use

  1. 1 Drag the radius slider to round all corners, or switch to per-corner to control each one.
  2. 2 Choose px or % units and watch the live preview update.
  3. 3 Click Copy CSS to grab the border-radius declaration.

// examples

Uniform rounding
Input
all corners 24px
Output
border-radius: 24px;
Per-corner
Input
top-left 24px, others 0
Output
border-radius: 24px 0px 0px 0px;

// common uses

Rounding cards, buttons, and inputs Creating circular avatars and pill-shaped tags Matching a corner radius to a design spec Experimenting with asymmetric corner shapes

// faq

Is anything uploaded to a server?
No. The shape is rendered live in your browser and the CSS is generated on the fly, so nothing you design leaves your machine.
What is the order of the four values?
CSS border-radius lists corners clockwise from the top-left — top-left, top-right, bottom-right, then bottom-left. This tool follows that order, and collapses to a single value when all corners match.
When should I use percent instead of pixels?
Pixels give a fixed corner size, while percent scales with the element and, at 50%, turns a square into a circle or a rectangle into a pill. Use percent for shapes that should stay proportional.
How do I make a circle or a pill?
Set the radius to 50% on a square element for a circle, or on a wider element for a pill. Switch the unit to % and drag the slider up to 50 to see it.
Does it support elliptical corners?
It generates the common single-radius-per-corner syntax. For advanced elliptical corners (the slash syntax with two radii), use the output here as a starting point and extend it by hand.