Tools

Home
JSON FormatterSQL FormatterJS ValidatorMinify CSS
Merge PDFCompress PDFImage to PDF
JPG to PNGPNG to WebPCrop Image

CSS Border Radius Designer

Visually design rounded corners with individual corner control, live preview, and instant CSS code

Your files never leave your browser
Corner Radius
Link all corners
All Corners16px
Unit
Advanced
Elliptical corners
Preview Box
Box Color
#6366f1
Background Color
#f0f2f5
Width200px
Height200px
Show border
Live Preview
Generated CSS

Drag sliders to shape each corner, see the result update instantly, and copy the finished border-radius CSS in one click. Set all four corners at once or unlink them for individual control — elliptical mode handles the slash syntax so you don't have to. And everything runs in your browser. Nothing gets uploaded.

How It Works

Drag Sliders
→
Live Preview Updates
→
Copy CSS Output

Move any corner slider and the preview box redraws instantly. The tool builds the correct border-radius shorthand — including the slash syntax for elliptical corners — so you don't have to remember the spec. Pick your unit (px, %, em, or rem), toggle the webkit prefix if you need it, then hit copy.

Examples

Pill-shaped button

You want a CTA button with fully rounded ends, like most SaaS landing pages use.

INPUT
All corners: 9999px Unit: px
OUTPUT
border-radius: 9999px;

Chat bubble with one sharp corner

Messaging apps usually keep one corner square so the bubble "points" at the sender. Here is the right-side version.

INPUT
Top-left: 16px Top-right: 16px Bottom-right: 2px Bottom-left: 16px
OUTPUT
border-radius: 16px 16px 2px 16px;

Blob-style card with elliptical corners

You are building a portfolio and want organic, uneven curves on a feature card — not the same radius everywhere. Elliptical mode lets you set separate horizontal and vertical radii for each corner, producing that hand-drawn look that is popular in creative portfolios.

INPUT
Elliptical: ON H-radii: 40% 60% 30% 70% V-radii: 60% 40% 70% 30%
OUTPUT
border-radius: 40% 60% 30% 70% / 60% 40% 70% 30%;

Who Uses This

👨‍💻 Front-End Developers

Prototype border-radius values without reloading a dev server every time.

🎨 UI Designers

Grab exact CSS for the corner rounding defined in Figma or Sketch specs.

🎓 Students

Learn how the four-value shorthand and slash syntax actually work by experimenting live.

📧 Email Developers

Test rounded corners with the -webkit- prefix for Outlook and older email clients.

Common Mistakes

Using 50% on a rectangle and expecting a circle

50% only creates a perfect circle when width and height are equal. On a rectangle it produces an ellipse. Set the element to a square first, or use a huge pixel value like 9999px for pill shapes.

Mixing up the shorthand order

The four-value shorthand goes clockwise from top-left: TL TR BR BL. A lot of people assume it starts top-right or follows the same order as padding. If top-right and bottom-left look swapped, that is probably why.

Adding -webkit- prefix when you don't need it

Every browser since 2012 supports unprefixed border-radius. Adding the prefix bloats your CSS for no reason — unless you are targeting pre-Android 4.4 WebViews or very old iOS Safari. Skip it by default.

Technical Details

Frequently Asked Questions

What is CSS border-radius and what does it do?

It rounds the corners of any HTML element. One value rounds all four corners equally. Four values let you set each corner separately, starting from the top-left and going clockwise. Every modern browser supports it without a prefix.

How do I make a circle with CSS?

Give the element equal width and height, then set border-radius: 50%. That is it. If the sides are not equal you will get an oval instead. For pill-shaped buttons where width varies, use a very large pixel value like 9999px.

What is the difference between px and % for border-radius?

Pixels give you a fixed curve size no matter the element dimensions. Percentages scale with the element — 50% always means "half the width (or height)," so the curve grows or shrinks as the element resizes. Use % for responsive designs and px when you want a consistent look across different-sized components.

What are elliptical border-radius values?

Normal border-radius creates quarter-circle curves. Elliptical values use a slash to set different horizontal and vertical radii — for example border-radius: 50px / 30px. The first set controls how wide the curve is, the second controls how tall. This produces oval-shaped corners and is how you get those organic, blob-like shapes.

Do I need the -webkit- prefix for border-radius in 2025?

Almost certainly not. Chrome, Safari, Firefox, and Edge have supported unprefixed border-radius since around 2012. The only edge case is pre-Android 4.4 WebViews or very old iOS Safari. If your analytics show zero traffic from those platforms, skip the prefix entirely — it just adds dead CSS.

Share: