CSS Border-Radius Generator
Round element corners visually and copy the CSS — control each corner, make circles and pill shapes, or generate organic blobs with a live preview. Free.
💡 How to use
- Drag each corner slider, or keep "Link all corners" on to round them together.
- Use the "Random blob" button for organic, asymmetric shapes.
- Copy the
border-radiusCSS and paste it onto any element.
Free CSS Border-Radius Generator
Round element corners visually and copy the CSS in one click. Control each corner independently, preview the result live, and even generate organic blob shapes — then paste production-ready border-radius CSS into your project. Free, no sign-up, runs in your browser.
What is the CSS border-radius property?
The border-radius property rounds the corners of an element, turning sharp rectangles into soft cards, pill buttons, and even circles. You can round all four corners equally with a single value, or set each corner separately for custom shapes. It is one of the most-used CSS properties in modern interface design because rounded corners feel friendlier and more polished than hard edges.
How to use the border-radius generator
Shaping your element takes seconds:
- Drag the corner sliders to round each corner, or keep 'Link all corners' on to adjust them together.
- Pick a box color to preview the shape in context.
- Try 'Random blob' for organic, asymmetric shapes.
- Copy the generated border-radius CSS and paste it onto your element.
Making circles, pills, and blobs
A few common shapes are easy to remember. Set border-radius to 50% on a square element to make a perfect circle. Use a very large pixel value (like 999px) on a wide button to make a pill shape. For organic 'blob' shapes, use the two-value percentage syntax — a horizontal set and a vertical set separated by a slash — which the Random blob button generates for you.
Pixels vs percentages
Pixel values give a fixed corner size that stays the same regardless of element dimensions — ideal for cards and buttons where you want consistent rounding. Percentage values are relative to the element's size, so they scale with it, which is how you create circles and ellipses. Choose pixels for predictable UI corners and percentages for shapes that should adapt to the element.
Why rounded corners improve design
Rounded corners are more than decoration. They guide the eye, make interactive elements look tappable, and soften dense layouts so they feel less intimidating. Consistent corner radii across your buttons, inputs, and cards are a hallmark of a mature design system — pick one or two radius values and reuse them everywhere for a cohesive, professional look.
Pro tip
Keep your radii consistent: define a small set (for example 8px for inputs, 12px for cards, 999px for pills) and stick to them across the whole interface. Pair this with our Box-Shadow Generator and CSS Gradient Generator to build complete, polished components in minutes.
FAQ
Is this Border-Radius Generator free?
How do I round only one corner in CSS?
How do I make a perfect circle with border-radius?
How do I make a pill-shaped button?
What is the difference between px and % for border-radius?
How do I create a blob shape?
Does border-radius work in all browsers?
Related tools
Pro tip: pair this tool with CSS Box-Shadow Generator and CSS Loader & Spinner Generator for a faster SEO workflow.