Border Radius Generator
Free online border radius generator for developers. Visual border-radius maker. Fast and private.
border-radius: 10px 10px 10px 10px;Embed this tool
Copy and paste the code below into your website to embed this tool for free. An attribution link to The Util Box is required.
<iframe src="https://www.theutilbox.org/embed/border-radius-generator" width="600" height="500" frameborder="0" style="border: none; max-width: 100%;" title="Free Border Radius Generator tool from The Util Box"></iframe> <!-- Free tool by The Util Box — https://www.theutilbox.org/tools/border-radius-generator --> <a href="https://www.theutilbox.org/tools/border-radius-generator">Border Radius Generator by The Util Box</a>
Frequently Asked Questions about Border Radius Generator
Border Radius Generator — Four Independent Corners
This border-radius generator gives each corner its own slider and writes the four-value shorthand for you. The preview shape updates live, so you can dial in a pill, a leaf, a blob or a single rounded corner without guessing at the syntax.
The shorthand order is fixed and easy to get wrong, which is exactly why the tool exists:
border-radius: top-left top-right bottom-right bottom-left; — clockwise from the
top-left, not the intuitive top-left/top-right/bottom-left/bottom-right. Set all four equal and you can collapse
it to a single value; the generator always prints all four, which is clearer to read and diff.
Pixels or Percentages?
Pixels (0–100)
A fixed corner size regardless of the element's dimensions. A 12px radius looks
identical on a wide button and a tall card. Use it when you want a consistent design language.
Percentages (0–50)
Relative to the box. 50% on all four corners turns any rectangle into an
ellipse or circle that scales with the element. Great for avatars, but it distorts the corner curve on
non-square boxes.
If you need elliptical corners with different horizontal and vertical radii, CSS allows a slash form —
border-radius: 10px / 20px — which this generator does not produce. Use it as your
starting point and add the slash by hand.
Related CSS Generators
- Clip Path Generator — cut angles and polygons that border-radius cannot express.
- Box Shadow Generator — pair the rounded corners with a matching shadow.
- Gradient Generator — fill the shape you just rounded.
- Design Token Generator — turn one-off values into a consistent scale.
Generation is local and instant.