The quick answer

Four sliders (0–100px each) set each corner against a live preview, and the generator emits the shorthand. Defaults 12, 8, 16 and 20px print border-radius: 12px 8px 16px 20px;, with values running top-left, top-right, bottom-right, bottom-left. Equal corners collapse to a single value. Everything runs locally in your browser; nothing uploads.

Why corner picking needs a live preview

Border-radius is a small property with a genuinely awkward mental model: four corners, one shorthand, values that run clockwise from the top-left, and the only reliable way to pick them is to see them. This page is the seeing part: a live preview driven by four sliders, with the exact declaration printed beside it, client-side and untracked.

Specifically, the controls are Top left, Top right, Bottom right and Bottom left, each 0–100px; a preview card re-renders on every input; and an output panel emits the shorthand automatically, collapsing to a single value when all four corners match.

The workflow, start to finish

The generator keeps its interface minimal, and the steps below are the fastest path to a result you can trust. Everything happens live: there is no calculate button and no page reload.

  1. Start from the default corners

    The page loads with Top left 12px, Top right 8px, Bottom right 16px and Bottom left 20px, an asymmetric default that shows off the clockwise order the shorthand uses.

  2. Drag each corner

    Four sliders (0–100px each) set the corners in CSS order, top-left, top-right, bottom-right, bottom-left, and the preview card re-renders on every drag, so the shape is never a guess.

  3. Watch the shorthand collapse

    Set all four corners equal and the output collapses to a single value (border-radius: 12px; rather than four repeats); unequal corners print the full four-value form, exactly as the CSS shorthand expects.

  4. Copy the declaration

    The CSS output panel shows the exact shorthand, and the Copy button puts it on your clipboard, ready for a stylesheet, a component or a page builder's custom-CSS box.

  5. Close the tab when you are done

    Nothing is stored: the slider values live in your browser only, and closing the tab resets them. No history, no server copy.

The output, verbatim

The snippet below is the generator's default output with the collapse behavior shown beside it, exactly as the panel prints it.

border-radius: 12px 8px 16px 20px;
/* equal corners collapse: all four at 12px -> */
border-radius: 12px;

The example carries a guarantee no manual page can: it was computed by the generator itself, so it matches the tool by construction.

Who reaches for the CSS Border Radius Generator

Product designers: handing off "rounded, but asymmetric, this card wants a big bottom-left and tight top corners" as an exact declaration beats a paragraph of prose. The developer pastes 24px 8px 8px 24px and the build matches the mock.

Frontend developers: pill buttons, sheet drawers with only top corners, image crops with a single softened corner. All four shapes are two slider-moves away, and the emitted shorthand is guaranteed to have its values in the right clockwise order, the detail everyone second-guesses when hand-writing.

Features, plainly listed

The table summarizes what the generator promises and how it behaves.

AspectThis tool
Processing100% client-side, JavaScript in your browser
Signup requiredNo account, no email
Data uploadedNever; slider values stay on your device by architecture
OutputPreview and shorthand re-render on every slider move
CollapseFour equal corners emit one value, per the CSS shorthand's own rule
CostFree, no usage limit

Honest limits: when the answer needs context

  • The corners flatten on a small element: browsers clamp overlapping radii proportionally, so a 100px radius on a 40px-tall chip renders as the maximum legal curve, not a literal 100px arc.
  • The shape ignores the shadow: border-radius clips background and border together, but box-shadow keeps the element's outer rectangle unless its own radius matches.

Strip away the specifics and one rule remains: the emitted shorthand is your slider values, printed exactly. Every surprise has a browser-side explanation, clamping, borders, non-square boxes, not a generator-side one.

The privacy model, in one paragraph

A border radius is not sensitive data, but the guarantee is architectural, not situational: the preview and the declaration are computed locally in your browser, nothing you dial in becomes a network request, and closing the tab resets the sliders. The corner values you tune may belong to pages that are not announced yet, and local processing is the architecture here, not a policy promise.

The competition, sized up

There is always another tool that could do this job. This comparison shows what the generator trades and what it refuses to trade away.

AlternativeWhere it winsWhere this tool wins
Radius-generator one-pagersSome add elliptical (slash-syntax) radii and percentage inputsFour plain sliders in CSS order with live collapse-to-shorthand, the everyday case without the advanced surface, plus the method documented on the page
Browser DevTools element inspectorEdits the radius on your live page and shows the rendered result instantlyBuilds the shorthand before the element exists, with the clockwise order guaranteed; paste it into a stylesheet or a page builder's custom-CSS box
Design-tool corner inspectorsCorner values live next to the rest of the design, with smoothing options CSS does not haveEmits CSS directly in top-left, top-right, bottom-right, bottom-left order, so nothing gets transposed when the mock is translated to code

Field notes and gotchas

When the rendered shape behaves unexpectedly, the causes are almost always one of these:

  • The preview looks lopsided: equal radii can render asymmetrically when the element is not square, because horizontal and vertical curvature scales with the box. Check against the real element's dimensions.
  • A copied pill renders as a plain rectangle: the slider value has to reach half the element's shorter side before the corners meet, and on elements taller than 200px the 100px slider maximum may not be enough.

Frequently asked questions

These are the questions people actually search about border radius generators, answered directly. If yours is missing, the contact page takes feature and question requests.

Is the CSS Border Radius Generator free to use?

Yes, free with no signup, no email capture and no usage limit. Since the processing never touches a server, there is no infrastructure cost to recover through fees or gates. Set as many corner combinations as the job requires.

In what order do the four values run?

Clockwise from the top-left: top-left, top-right, bottom-right, bottom-left. So 24px 8px 8px 24px rounds the left corners heavily and keeps the right ones tight. The generator's sliders are labelled in exactly that order, so the emitted shorthand never has its values transposed.

What happens when all four corners are equal?

The output collapses to a single value: four corners at 12px emit border-radius: 12px; rather than 12px 12px 12px 12px. The same collapsing the CSS shorthand itself performs; two equal adjacent pairs would print two values, and so on down to one.

How do I make a fully rounded pill shape?

Slide all four corners to any large value. 100px on a standard button exceeds half its height, and the browser clamps the radii proportionally to produce the pill. Any value at or beyond half the shorter side gives the same capsule.

Can I use percentages instead of pixels?

The generator emits pixel values, which are the predictable choice; percentages resolve against the element's box and behave surprisingly on non-square elements. If you want an ellipse-style crop, convert by hand: a 50% radius equals half the relevant dimension in px.

Does the corner order match what design tools show?

Most design apps expose corners clockwise from the top-left too, but do not assume it when translating a mock, because 8px 24px 24px 8px is a different shape than its reverse. The generator always prints top-left, top-right, bottom-right, bottom-left, the order the CSS shorthand expects.

Tools that pair with CSS work

These tools share the generator's workflow most often; the internal links exist because people genuinely chain them, not for keyword decoration.

  • CSS Box Shadow Generator: the other half of card styling; set the corners and the elevation from the same preview loop.
  • CSS Flexbox Generator: lay out the rounded cards inside their container with direction, justify and align controls.
  • Color Converter (HEX/RGB/HSL): tune the border colour that rides the radius you just set.

Where to start

Start from the asymmetric default, glance at the preview, and drag one corner to confirm the clockwise order in your own head. From there, four sliders to taste, one Copy click, and the declaration is in your stylesheet. The pill case needs all four at or beyond half the element's shorter side; the browser does the clamping for you.

Sources and further reading

We cite primary sources (standards bodies, government agencies, official documentation) wherever they exist so you can verify every number on this page yourself.