Border Radius Generator
Drag corners independently, try elliptical radii, copy the CSS — with chat-bubble, pill, blob, and tab presets.
Presets
border-radius: 16px;How to use
- Pick a preset to start, or toggle 'Uniform' off to edit per-corner.
- Toggle 'Elliptical' for blob shapes (each corner gets two radii).
- Copy
border-radius: …and paste into your CSS.
About this tool
ShowHide
A visual border-radius editor: round every corner at once, set each of the four independently for chat bubbles and tabs, or switch to elliptical mode where a corner's horizontal radius differs from its vertical one, which is what turns a rectangle into a blob. The output is always the shortest CSS that is still correct — one value when all four corners agree, four when they do not, and the full horizontal-slash-vertical form when the radii are elliptical. Units matter here: a radius in px is fixed, while one in percent is measured against the element's own width and height, so it reshapes as the box resizes and 50% on every corner turns any box into an ellipse. If adjacent radii would overlap, the browser scales them all down together rather than letting them cross.
Frequently asked questions
When is elliptical actually useful?
Mostly for organic 'blob' shapes used in illustrations, where each corner is asymmetric. Standard UI almost always uses uniform or 4-value radii.
px vs % radius?
% is relative to the element's width/height — so a 50% radius on a square gives a circle, on a rectangle an oval. px is absolute regardless of element size.
Why doesn't the pill preset look right on a square?
Pill = 999px radius assumes the element is wider than tall. On a square element, that just becomes a circle.
Browser support?
All four-value border-radius and elliptical syntax work in every browser since 2010. Universally safe.
Why does a huge radius on a small box stop growing?
Because the browser caps it. When two radii along one edge would overlap, all of them are scaled down by the same factor so they meet exactly instead of crossing. That is why 999px on a 40px box gives a clean pill rather than a broken shape, and why doubling the number changes nothing.
Which corner does each value in the shorthand set?
The four-value form runs clockwise from the top-left: top-left, top-right, bottom-right, bottom-left. Three values mean the second one covers both of the corners it sits between, and two values pair the diagonals — the same reading order as margin and padding.
Related tools
Image Round Corners
Apply rounded corners, a full circle mask, or per-corner radii to an image — preview with a checkerboard for transparency, download as PNG or JPEG.
Image
CSS Triangle Generator
Generate pure-CSS triangles (8 directions) using border or clip-path — copy the rule, drop it in.
Color & CSS
CSS clip-path Builder (Circle, Ellipse, Polygon, Inset)
Visual builder for the CSS clip-path property — circle, ellipse, inset or polygon, with sliders, click-to-add points and 10 shape presets.
Color & CSS
CSS Gradient Generator
Build linear or radial CSS gradients with multi-stop colors and copy the code.
Color & CSS
CSS Box Shadow Generator
Visually design CSS box-shadows with multiple layers, live preview, and copy-ready CSS / Tailwind output.
Color & CSS
CSS Filter Playground
Visually compose blur, brightness, contrast, hue, sepia, invert, and more — copy the CSS filter or Tailwind arbitrary value.
Color & CSS