CSS Border Radius Generator – Create Custom Shapes
Live Preview
Generated CSS
rounded-[20px]Preset Shapes
What Is a CSS Border Radius Generator?
A CSS border-radius generator lets you create rounded corner values visually without writing code by hand. Adjust sliders for each corner, choose a unit (px or %), preview the result in real time, and copy the CSS or Tailwind class instantly.
Common Shapes You Can Create
- Circle: border-radius: 50% on a square element
- Pill / Stadium: border-radius: 9999px on any rectangular element
- Squircle: ~30% on all corners — used in iOS app icons
- Blob / Organic: different values on each corner for a natural, flowing shape
- Rounded rectangle: small equal values like 8px or 16px
Using the px vs % Unit
Pixel values give a fixed curve size regardless of the element dimensions. Percentage values scale with the element — 50% on all four corners always creates a circle or ellipse. Use px for cards and buttons where you want a consistent look at any size, and % for shapes that should scale with the element.
Frequently Asked Questions
What is CSS border-radius?
Difference between px and % for border-radius?
How to make a perfect circle in CSS?
What is a CSS pill shape?
What is a squircle?
How to copy as a Tailwind class?
Related Developer Tools
Base64 Encoder / Decoder
Encode and decode Base64 instantly.
Box Shadow Generator
Generate CSS box shadows visually with live preview.
Color Palette Generator
Create harmonious color palettes from any color.
Color Picker
Pick colors and get HEX, RGB, HSL, CMYK instantly.
CSS Formatter / Beautifier
Format and beautify CSS code instantly.
CSS Gradient Generator
Generate linear, radial, and conic CSS gradients visually.
CSS Minifier
Minify CSS code instantly in browser.
HEX to RGBA Converter
Convert HEX colors to RGB/RGBA instantly.
HTML Minifier
Minify HTML to reduce page size instantly.
HTML Table Generator
Create HTML tables in seconds.
