CSS Border Radius Generator

Adjust per-corner or elliptical (8-value) border-radius with sliders and handles, preview live, and copy the generated CSS code.

Last updated: 2026/10/16 Design Feedback & bug reports
Preview
Settings
Mode
Preview Size
Output Unit
Each Corner
Top-left
20%
Top-right
20%
Bottom-right
20%
Bottom-left
20%
Presets
CSS Code

How to Use

1

Shape the corners

Drag the handles around the preview, or move the per-corner sliders to shape the rounded corners.

2

Use a preset

Apply circle, leaf, blob and more with one tap, then fine-tune from there.

3

Copy the CSS

Hit "Copy CSS" to grab the generated border-radius code and paste it straight into your stylesheet.

About the Border Radius Generator

A visual generator for the CSS border-radius property. Set each corner individually, or create elliptical corners with different horizontal and vertical radii using the 8-value slash syntax. Everything runs in your browser and nothing is sent to any server.

Features

  • Live PreviewEvery handle and slider change is reflected instantly so you can shape it visually.
  • Elliptical (8 values)Outputs accurate slash-syntax for corners with different horizontal and vertical radii.
  • Shape PresetsRecall common shapes like circle, leaf, blob and squircle with a single tap.
  • px / % ToggleOutput relative percentages or absolute pixels computed from the preview size.

Use Cases

  • Rounded buttons, cards and input fields
  • Clip avatar images into perfect circles
  • Organic decorative shapes like leaves and blobs
  • Ticket-style and pill-shaped UI components
  • Turning design mockups into CSS

FAQ

Is the border radius generator free to use?
Yes, it is completely free. No registration or installation required - just open it in your browser.
What is the 8-value slash syntax for elliptical corners?
In border-radius: 30px 10px 30px 10px / 60px 20px 60px 20px; the values before the slash are the horizontal radii of each corner and the values after are the vertical radii, letting you create elliptical corners.
Should I use % or px?
Use % when the rounding should scale with the element size, and px for a fixed radius. The px values are calculated automatically from the preview size.
Is my data sent to a server?
No. All processing happens locally in your browser and nothing is uploaded anywhere.
Does it work on smartphones?
Yes. It works on phones, tablets and PCs, and you can drag the handles with touch input too.
Which browsers support the generated CSS?
border-radius is widely supported across all modern browsers including Chrome, Safari, Firefox and Edge.