Border Radius Generator
Round each corner of a box in pixels or percent, see the shape change and copy the shortest CSS.
Runs in your browser. Nothing leaves this device.
How to use Border Radius Generator
- 1Pick pixels or percent.
- 2Move one slider for all corners, or turn off "Same for all corners" to set each one.
- 3Copy the CSS. It uses the shortest form that gives the same shape.
Questions
Pixels or percent?
Pixels keep the same curve on any box size. Percent follows the box, so 50% on a square makes a circle.
Why does the CSS have fewer than four values?
When corners match, CSS lets you write them once. The tool picks the shortest version that means the same thing.
Is anything uploaded?
No. The page builds the CSS in your browser.
Is it free?
Yes. No account, no watermark and no daily limit.
Related tools
- DesignColour ConverterConvert a colour between HEX, RGB, HSL, HSV, HWB, OKLCH and CMYK, and check its contrast against white and black.
- DesignColour Picker from ImageClick anywhere on an image to get the exact colour as HEX, RGB and HSL, and see its main colours.
- DesignAspect Ratio CalculatorFind the aspect ratio of any width and height, resize to a new width or height at the same ratio, and see megapixels and common sizes.
- DesignBackground & Wallpaper GeneratorMake mesh gradients, grain textures and dot, grid, wave or stripe patterns at any size, then download a PNG or copy the CSS.
- DesignBox Shadow GeneratorSet the offset, blur, spread and colour of a CSS box shadow, watch it on a box and copy the CSS.
- DesignColour Blindness SimulatorSee an image the way people with red, green or blue colour blindness see it, and save the result.