Border Radius Generator
Adjust rounded corners and generate CSS
Preview
border-radius: 12px;Settings
What is the Border Radius Generator?
Border Radius Generator adjusts CSS border-radius while you watch the preview and generates CSS or Tailwind classes you can use as is. You can round each corner separately or shape an organic blob from the four edges. Switch between px and % to style buttons, cards, and circular elements.
How to Use
- Choose Standard or Blob.
- Move the sliders to shape the corners. In Blob mode, you can also drag the handles on the preview.
- Apply a preset or show the outline if needed.
- Choose the output format and copy the generated code.
Main Settings
Standard
Adjust the radius of each corner. Turn on Link all corners to change all four corners with one slider. Turn it off to adjust the top left, top right, bottom right, and bottom left corners separately.
Blob
Use the Top, Right, Bottom, and Left sliders to create an organic shape. Each edge slider moves the two corners on that edge. You can also drag the four handles on the preview.
Unit
px sets a fixed radius that does not depend on the element size. % is relative to the element, so the shape scales with it. To make a circle, set 50% on a square element.
Presets
Apply Square, Slight, Rounded, or Circle. Selecting one replaces the unit and all four corner values.
Outline
Shows the original square as a dashed outline. Use it to check which parts the rounded corners cut away.
Output
Choose CSS or Tailwind. CSS outputs a declaration such as border-radius: 12px;, and Tailwind outputs an arbitrary value class such as rounded-[12px].
Use Cases
- Matching the corners of buttons and cards to a design
- Making avatars and icons circular
- Creating organic shapes for headings and backgrounds
- Fine-tuning a shape while checking the CSS or Tailwind class
Last updated:

