UTILS.
Private by default
⬭

CSS Border Radius Generator

Adjust each corner radius with a live preview and copy the CSS.

Your files stay on this device

Files are processed in your browser, never uploaded. The site downloads code and assets to run the tools. No accounts or trackers.

Use Download to save this tool as one HTML file for offline use.

Privacy →

About this tool

Round each corner of a box independently with four sliders and copy the resulting border-radius rule. The preview updates instantly, all in your browser.

Four sliders set the top-left, top-right, bottom-right and bottom-left radii, each from 0 to 150 px, starting at 20 px. The preview box is 160 px tall. The output is a complete declaration such as border-radius: 20px 20px 20px 20px; with all four values in pixels even when equal, and Copy puts the whole declaration, semicolon included, on the clipboard.

There is no percentage unit, no elliptical radii with a slash and no shorthand that merges equal corners.

Frequently asked questions

In what order are the corners written?
The shorthand lists them clockwise from the top-left: top-left, top-right, bottom-right, then bottom-left.
Can I make a circle?
On a square element of your own, set all four corners to at least half its side. Because the sliders stop at 150 px and the output is in pixels, this covers squares up to 300 px wide; for larger ones edit the copied value by hand.
Which units does the output use?
Pixels only, with no option for percentages or other units.
Can a corner have different horizontal and vertical radii?
No. Each corner gets a single value.

More tools