Next-Gen App & Browser Testing Cloud
Trusted by 2 Mn+ QAs & Devs to accelerate their release cycles

Generate CSS border-radius with a live preview. Round element corners, edit each corner separately, add elliptical radii, and copy ready-to-use rounded corners CSS, right in your browser.
Options
Live Preview
Drag corner handles on the preview or use the controls below.
Generated CSS
The CSS border radius generator is a free online tool that creates the border-radius CSS needed to round the corners of an element. Instead of guessing values and reloading your page, you adjust a visual preview and the tool writes the matching CSS for you.
The border-radius property accepts one to four values for the four corners, plus a slash for elliptical radii, so it can produce anything from a subtle rounded button to a full circle. The generator exposes all of these options through sliders, corner inputs, and presets, then outputs the exact border-radius declaration you can paste into your stylesheet.
Generating rounded corners CSS takes only a few seconds, and nothing is uploaded. Follow these steps:
Knowing how border-radius reads its values makes the generated CSS easy to tweak by hand. The property is a shorthand that controls all four corners and supports both circular and elliptical rounding. Here is how each part works:
As a tool, the border radius generator offers a few capabilities that make rounding corners effortless. Here are the features of our generator:
Rounded corners appear across almost every interface, and the generator speeds up each of these design tasks by writing the CSS for you:
This generator is maintained by TestMu AI (formerly LambdaTest), the team behind a unified testing platform, so it reflects the same attention to how CSS renders across browsers. Because corner rounding and prefixes can differ between engines, you can verify your styled components across 3000+ browsers and 10,000+ real devices to confirm the design looks right everywhere.
The CSS border-radius property rounds the corners of an element. It accepts one to four length or percentage values that set the radius of each corner, turning a square box into a rounded rectangle, pill, or circle without any images.
Drag the corner handles or move the slider to round the element, watch the live preview update, then enable separate corners or vendor prefixes if needed. Copy the generated border-radius CSS and paste it into your stylesheet.
Set border-radius to 50% on a square element, where the width and height are equal. The Max preset does this for you. A 50% radius pushes every corner inward until the box becomes a perfect circle.
A pixel radius is a fixed length, so corners stay the same size regardless of element dimensions. A percentage radius is relative to the element size, so the rounding scales with the box and a 50% radius always forms a full ellipse.
Yes. Enable Edit corners separately to give the top-left, top-right, bottom-right, and bottom-left corners their own radius. The shorthand border-radius output lists all four values in clockwise order starting from the top-left corner.
Yes. The standard border-radius property is supported in every modern browser. The generator can also add WebKit and Gecko vendor prefixes for older engines, and you can verify the result across browsers using TestMu AI.
Yes, the border radius generator is completely free with no signup, login, or usage limit. Generate as much border-radius CSS as you need. The tool runs entirely in your browser and is maintained by TestMu AI (formerly LambdaTest).
Border-radius supports elliptical corners using a slash, such as border-radius: 40px / 20px, which sets the horizontal radius before the slash and the vertical radius after it. This produces an oval corner instead of a circular one for more organic shapes.
Did you find this page helpful?
TestMu AI forEnterprise
Get access to solutions built on Enterprise
grade security, privacy, & compliance