Skip to content
Corners → border-radiusDeveloper tools

CSS Border Radius Generator

Design rounded corners and organic blob shapes visually: presets, one or four corners, px or %, oval corners with the “/” syntax, and the shortest CSS.

Did this tool work for you?

Used CSS Border Radius Generator? Share how it went to help others.

About this tool

About CSS Border Radius Generator

CSS Border Radius Generator lets you shape the corners of any box by dragging sliders and copying the resulting border-radius line. Start with a preset: Rounded, Pill, Circle, Leaf, Tab (top corners only), Speech bubble, Egg, Blob or Wave, or press Random blob for a new organic shape each time. Keep “Same for all corners” on to change every corner together, or turn it off to set top left, top right, bottom right and bottom left separately. Choose px for a fixed rounding or % to round relative to the box itself: 50% turns a square into a circle and a rectangle into an oval. Turn on Oval corners to give each corner a different horizontal and vertical radius. This is the part of border-radius written after a slash, as in 30% 70% 70% 30% / 30% 30% 70% 70%, and it is how the soft, organic blob shapes used in modern websites are made. You can change the width and height of the preview box to see how the same value looks on a button, a card or a banner, and pick the shape colour. The CSS is always written in the shortest correct form, the same way browsers simplify it: four equal corners become one value, matching opposite corners become two or three. When rounding values are larger than the box allows, browsers scale every corner down in proportion, which is why a very large px value such as 999px always produces a pill whatever the size. Everything runs in your browser; copy the line and paste it into your stylesheet.

CSS Border Radius Generator tool

Common rounded shapes

From buttons to blobs

Buttons

Pill-shaped call-to-action buttons.

Exampleborder-radius: 999px for a pill of any width.

Avatars

Round profile photos.

Exampleborder-radius: 50% on a square image.

Hero backgrounds

Organic blob shapes behind images.

ExampleA random blob behind a product photo.

Chat bubbles

Three rounded corners and one sharp one.

Example24px 24px 24px 0 for a message bubble.

Rounding tips

Consistent and clean

Use a few radius sizes

Small, medium and large values keep a design consistent.

Nested corners

Inner radius = outer radius minus padding looks right.

Animate blobs

Transition between two blob values for a soft moving shape.

Add depth

Pair rounded cards with a soft shadow.

Box Shadow Generator
Built & tested by

HemantInsights

Senior Software Engineer · Developer of Toolyconvert

Hemant developed CSS Border Radius Generator and tests it on desktop and mobile with real files. He is a senior software engineer from Dehradun, India, building websites since 2014, and designed and developed Toolyconvert end to end.

Last updated 24 November 2026

Answers and guidanceFrequently Asked Questions
What does the slash in border-radius mean?
Values before the slash are horizontal radii and values after it are vertical radii. Different values make oval corners, which is how blob shapes are made.
How do I make a circle?
Use border-radius: 50% on an element with equal width and height.
How do I make a pill button?
Use a large value such as 999px. Browsers shrink it to fit, so the ends are always fully round.
In which order are the four values?
Clockwise from the top left: top left, top right, bottom right, bottom left.
Does border-radius clip images inside?
It rounds the element’s background and border. Add overflow: hidden to clip child content such as images.
px or %?
px gives the same rounding on every size; % scales with the element, which suits circles and blobs.
Can I set different corners on each side?
Yes. Turn off “Same for all corners” to control each one, for example rounding only the top corners of a card so that it joins the panel below it.
More tools for your workflowRelated Tools

Featured on

Toolyconvert is listed on these product directories and launch platforms.