⬜ Border Radius Generator

Control each corner independently with visual preview & instant CSS copy

⚙️ Mode

16px

✨ Presets

💻 CSS Code

How to Use This Border Radius Generator

Design perfectly rounded corners for your web elements with this interactive CSS border-radius generator. Instead of guessing pixel values, you can visually adjust each corner and see the results in real time while getting ready-to-copy CSS code.

Step 1 – Adjust the Corners: Use the range sliders to set the border-radius value for each corner individually. You can also type exact pixel values into the input fields for precision. Drag the visual handles on the preview box for a more intuitive experience.

Step 2 – Preview in Real Time: The preview box updates instantly as you adjust values, so you can see exactly how your border-radius will look on an actual element.

Step 3 – Copy the CSS: When you're happy with the result, click the Copy CSS button to grab the generated CSS code. Paste it directly into your stylesheet — it's ready to use.

Pro Tips: Use the "Link All" option to apply the same radius to all four corners simultaneously. You can also switch between px and % units depending on your layout needs. Try large values like 50% to create circles or pill shapes.

Frequently Asked Questions

What is border-radius in CSS?
border-radius rounds the corners of an element. Set all corners equally or each independently.
Can I set different radius for each corner?
Yes! Toggle "Individual" mode to control each corner with its own slider.
What is the maximum border-radius value?
No strict maximum. 50% on a square creates a perfect circle.
How do I make a circle?
Set border-radius to 50% on an element with equal width and height.
Can I use percentage values?
Yes! Percentages are relative to the element size — px for fixed, % for responsive.
Does border-radius work on all elements?
Yes, on all HTML elements. Fully supported in all modern browsers.
Can I create pill shapes?
Yes! Use a large value like 9999px or 50% to create pill/capsule shapes.
Is this tool free?
100% free, no sign-up needed. Generate unlimited border-radius values.