Border Radius Generator
Design CSS border-radius visually with 15 presets, advanced 8-value mode for organic shapes, live preview, and instant copy for CSS and Tailwind. Free. No sign-up.
Presets
Preview Settings
border-radius: 12px;rounded-xlHow it works
- 1Choose a preset or start custom
Pick from 15 presets like Pill, Circle, Leaf, Blob, or Chat Bubble. Or start with the sliders and build your own shape from scratch.
- 2Adjust each corner
Use sliders to fine-tune each corner independently. Link mode adjusts all four together. Advanced mode gives you 8 values for organic blob shapes.
- 3Copy CSS or Tailwind
Copy the generated border-radius CSS or Tailwind utility class with one click and paste directly into your stylesheet or component.
Why Use a Border Radius Generator?
The CSS border-radius property controls how rounded the corners of an element appear. It is one of the most frequently used CSS properties in modern web design, appearing on buttons, cards, images, avatars, badges, input fields, and modals. A small radius creates subtle softness. A large radius creates pill shapes and circles. The 8-value shorthand creates organic, asymmetric shapes that feel natural and hand-crafted.
A visual generator removes the trial and error. Instead of editing pixel values in a code editor and refreshing your browser, you drag sliders and see the result instantly. This is especially valuable for the advanced 8-value syntax, where the relationship between horizontal and vertical radii per corner is difficult to predict from raw numbers alone.
Understanding the Border Radius Property
The simplest form of border-radius takes a single value that applies to all four corners equally. Four separate values set each corner individually in the order: top-left, top-right, bottom-right, bottom-left. The advanced shorthand uses a forward slash to separate horizontal and vertical radii, giving you eight independent values that can create elliptical corners and organic blob shapes.
Values can be specified in any CSS length unit. Pixels give you precise control, while percentages create shapes that scale with the element. When border-radius exceeds half the element dimension, curves overlap and the browser automatically adjusts them, which is why setting 50% on a square element creates a perfect circle.
Common Shapes and When to Use Them
A pill shape works well for tags, badges, and call-to-action buttons where you want a fully rounded appearance regardless of content width. A circle is ideal for avatars, status indicators, and icon containers. The squircle (a superellipse approximation using moderate radius values) offers a softer alternative to a plain rounded rectangle and is used by major design systems including Apple and Google.
Asymmetric shapes like leaf, drop, and chat bubble add personality and visual interest to decorative elements, callouts, and tooltips. The advanced 8-value mode enables truly organic blob shapes that are popular in modern landing pages and illustration-heavy designs.
Tailwind CSS Integration
If you use Tailwind CSS, the generator maps your border-radius to the closest Tailwind utility class when possible. Standard Tailwind classes like rounded-lg, rounded-xl, and rounded-full cover common values. For custom or per-corner values, the tool generates arbitrary value syntax so you can paste a single class into your markup without extending your Tailwind configuration.
Privacy and Performance
Everything runs in your browser. No data is sent to any server. The border-radius values you create are computed locally and stay on your device. The tool loads instantly with no external dependencies, so you can use it on any machine with a web browser.