Skip to content
Run here 100% in your browser, no upload, no login

Border Radius Generator

Set each corner with its own slider, see the preview live and copy the merged CSS shorthand.

Top left 12px
Top right 12px
Bottom right 12px
Bottom left 12px

CSS output

How to use it

  1. Drag the four sliders to set the top-left, top-right, bottom-right and bottom-left radii.
  2. Switch the unit between px, percent and rem depending on your layout.
  3. Watch the preview box reshape as you drag.
  4. Copy the CSS - equal corners are merged into the shortest valid shorthand.

Common use cases

Why it stays private

The preview is a plain DOM element restyled locally; there is nothing to upload and nothing to send.

FAQ

Q: How does the shorthand merging work? A: Four equal corners collapse to one value; equal diagonals collapse to two (top-left/bottom-right and top-right/bottom-left); a matching top-right and bottom-left collapses the fourth value. Everything else stays as four values.

Q: Why does 50% look different from 50px? A: Percent radii scale with the box edges, so a 50% radius on a wide rectangle turns it into a pill, while a fixed px value stays the same absolute size regardless of the box.

Q: Are elliptical radii (the slash syntax) supported? A: No, this tool produces the single-radius form only. If you need separate horizontal and vertical radii, extend the copied CSS by hand.

Your data stays on this device

Border Radius Generator runs 100% locally. Everything you paste or drop is processed by your own browser and never transmitted. Nothing is stored on our servers — close the tab and it is gone.

Nothing you type is sent to a server, logged, or used for analytics. The page works even with your network disconnected after first load.