Why use this tool?
- Edit each corner visually instead of memorizing shorthand order.
- Compare a shape at different widths and heights.
- Copy elliptical radii for organic CSS shapes without an image asset.
Generate CSS border-radius for rounded cards, pills, and organic blobs. Adjust individual corners or elliptical radii and copy CSS or Tailwind output.
Runs locally in your browser
Drag any handle on the edges of the box.
border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;Corner style
Percentages, clockwise from the top left.
Complete tool guide
Generate CSS border-radius values for rounded cards, pills, tabs, and organic shapes. Use uniform mode for pixel-based corners or organic mode for separate horizontal and vertical percentage radii, then copy the result into CSS or Tailwind.
Your input is processed in the current browser tab and is not sent to the application server.
Choose uniform corners for interface work, or organic for a free shape.
Drag the handles on the edges of the preview.
Adjust the box size to check the shape at the dimensions you will use.
Copy the generated CSS.
Set pixel radii for the top-left, top-right, bottom-right, and bottom-left corners. Linked corners change together.
Values before the slash are horizontal radii; values after it are vertical radii. Each group follows the same clockwise corner order.
Width and height affect percentage radii. Test both a square and a rectangle if the shape will resize in your layout.
Start with: Uniform mode and the Rounded preset
border-radius: 16px 16px 16px 16px;All corners use a fixed 16px radius. The equivalent compact shorthand is border-radius: 16px.
Start with: Organic mode and the Blob preset
border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;The slash separates horizontal and vertical radii. Resizing the box changes the visible shape.
Pixel radii specify fixed lengths. Percentage horizontal radii refer to width and vertical radii to height, so 50% makes a circle only when the box is square.
When adjacent radii do not fit an edge, the browser scales them down. This can make the rendered curve differ from a literal interpretation of individual handle values.
border-radius rounds the box’s own background and border. To clip overflowing child images or content, consider overflow: hidden and check that it does not hide focus indicators.
Use 50% radii on a square box. On a rectangle the same radii produce an ellipse.
The parent’s radius does not necessarily clip its children. Apply a radius to the image itself or use an appropriate overflow rule on the parent.
No. This tool produces a rounded rectangular box using elliptical corners. Use a path-based tool for shapes that cannot be described with border-radius.
Keep working
Continue with another focused tool from the same collection.