Border Radius Generator

Round the corners of a box visually and copy the generated CSS.

Corner radius

border-radius: 12px 12px 12px 12px;
Values are applied clockwise from the top left corner.

How to use the Border Radius Generator

  1. Move the four sliders to set each corner radius.
  2. Watch the preview update in real time.
  3. Click Copy CSS and paste it into your stylesheet.

Features

Advertisement

Frequently Asked Questions

Common questions about the free online border radius generator.

The border-radius shorthand goes clockwise from the top left: top left, top right, bottom right, bottom left.
Set a square element to a radius of 50 percent. With pixel values, use half the element width on every corner.
Yes, replace the px unit with a percentage in the copied CSS for a shape that scales with the element.
Any value beyond half the element size is clamped by the browser, so very large numbers simply give a pill or circle shape.
No. Everything runs locally in your browser, so your data never leaves your device.
Yes. The tool is fully responsive and works in any modern browser on desktop, tablet and phone.
Yes, the CSS works on images and any other element, often together with overflow hidden.
Yes, it is completely free with no account required.

Last updated: October 10, 2026