CSS Border Radius Generator

Round each corner independently with sliders — live preview and copy-ready CSS.

Loading tool…

Generate CSS rounded corners visually

The Border Radius Generator makes it easy to round the corners of any element exactly how you want. Round all four corners together, or unlink them to control each corner independently, with a live preview and copy-ready CSS. It removes the guesswork from the border-radius property.

How border-radius works

The CSS border-radius property rounds an element's corners. With a single value, all four corners share the same radius; with four values, they apply to the top-left, top-right, bottom-right, and bottom-left corners in that clockwise order. Larger values create softer, rounder corners — and a radius equal to half the element's size produces a perfect circle or pill shape.

How to use it

  1. Keep corners linked to round them all equally, or unlink for independent control.
  2. Drag the sliders and watch the live preview update.
  3. Copy the generated border-radius CSS.

Common shapes

GoalApproach
Subtle rounding4–8px on all corners
Card or modal12–20px on all corners
Pill buttonA very large radius (e.g. 999px)
Circle50% on a square element
Speech bubbleRound three corners, leave one square

Tips

  • Be consistent. Reuse the same radius across components for a cohesive look.
  • Match scale. Larger elements usually need a slightly larger radius to look balanced.
  • Pill shapes come from a radius bigger than half the height — no need to calculate exactly.
  • Asymmetric corners create playful, custom shapes like tags and bubbles.

Why rounded corners matter

Rounded corners feel friendlier and more modern than sharp edges, and they are now standard across web and app design. They soften the visual weight of buttons, cards, inputs, and images, and subtly guide the eye. This generator lets you find the exact radius that fits your design language.

Private and free

Everything runs in your browser with a live preview, no sign-up, and no limits. Generate as many corner styles as you like, free.

Frequently asked questions

What order are the four border-radius values?

Top-left, top-right, bottom-right, bottom-left — clockwise starting from the top-left corner.

How do I make a circle?

Apply border-radius: 50% to a square element. For a pill shape, use a very large radius like 999px.

Can I round corners independently?

Yes. Unlink the corners to set a different radius for each one.

Is it free?

Yes, completely free with a live preview, running entirely in your browser.