CSS Border Radius Generator
Control each corner radius individually with a live preview and copy the CSS code.
Create precise CSS border-radius values for perfectly rounded corners. Control each corner independently in px, %, or rem units, preview the live result, and copy the CSS property.
Features
Use Cases: When This Tool Helps
-
Design rounded buttons and cards
Pick the perfect corner radius for buttons, inputs, and cards.
Read the guide → -
Create pill shapes and circles
Make tags, badges, and avatars fully round with the right values.
-
Build organic blob shapes
Use different radii per corner for playful hero shapes and image masks.
-
Match a design system
Recreate the exact corner style from a Figma or brand UI kit.
-
Style chat bubbles and tooltips
Round some corners and keep one sharp for speech-bubble effects.
-
Experiment with shapes quickly
Try ideas visually instead of editing numbers by trial and error.
How to Use
- Use the sliders or inputs to set each corner radius.
- Toggle 'Link All' to apply uniform rounding.
- Switch between px, %, and rem units.
- Copy the generated CSS border-radius value.
FAQ
What is the CSS border-radius shorthand?▾
border-radius: 10px 20px 30px 40px sets top-left, top-right, bottom-right, bottom-left in clockwise order.
How do I make a perfect circle with CSS?▾
Set border-radius: 50% on a square element to make it a perfect circle.
Border Radius Tips
- border-radius: 50% on a square = circle.
- Use % for fluid/responsive rounding.
- Pill shape: border-radius: 9999px