CSS Border Radius Generator

Generate CSS border radius for rounded corners with 80+ Effects and Presets. Instant Live preview and copy cross-browser supported CSS and Tailwind code.

CSS Border Generator

Live Preview

Badge
Badge

Configuration

px

px

px

px

Generated CSS (cross-browser)

-webkit-border-radius: 9999px 8px 9999px 8px; -moz-border-radius: 9999px 8px 9999px 8px; -ms-border-radius: 9999px 8px 9999px 8px; -o-border-radius: 9999px 8px 9999px 8px; border-radius: 9999px 8px 9999px 8px;

None

0px

Subtle

2px

Tiny

4px

Small

6px

Soft

8px

Medium

10px

Base

12px

Rounded

14px

Large

16px

XL

20px

2XL

24px

3XL

28px

Super

32px

Mega

40px

Pill

9999px

Top Rounded

per-corner

Bottom Rounded

per-corner

Left Rounded

per-corner

Right Rounded

per-corner

Top Left Only

per-corner

Top Right Only

per-corner

Bottom Right Only

per-corner

Bottom Left Only

per-corner

Asymmetric

per-corner

Top Left Accent

per-corner

Blob

per-corner

Organic

per-corner

Organic Inverse

per-corner

Amoeba

per-corner

Melted Top

per-corner

Melted Bottom

per-corner

Diagonal Soft

per-corner

Diagonal Sharp

per-corner

Leaf Top

per-corner

Leaf Bottom

per-corner

Petal

per-corner

Cloud Top

per-corner

Smooth Squircle

per-corner

Squircle-like

per-corner

Squircle Strong

per-corner

Card Top

per-corner

Card Bottom

per-corner

Modal

per-corner

Hero Card

per-corner

Footer Block

per-corner

Nav Bar

per-corner

Dropdown

per-corner

Tooltip

per-corner

Badge

per-corner

Skewed Card

per-corner

Floating Corner

per-corner

Floating Opposite

per-corner

Neumorphic

20px

Bubble

per-corner

Message Bubble

per-corner

Message Bubble Right

per-corner

Chat In

per-corner

Chat Out

per-corner

Chip

per-corner

Chip Flat Right

per-corner

Tag

per-corner

Tag Right

per-corner

Stadium

per-corner

Stadium Bottom Flat

per-corner

Pill Top

per-corner

Speaker

per-corner

Notch Bottom

per-corner

Notch Top

per-corner

Lens

per-corner

Lens Strong

per-corner

Phone Frame

per-corner

Wavy Top

per-corner

Wavy Bottom

per-corner

Peach Slice

per-corner

Diamond Soft

per-corner

Stamp

per-corner

Ticket

per-corner

Ticket Notch

per-corner

Label

per-corner

Film Strip

per-corner

Keyhole

per-corner

Receipt

per-corner

Cropped Corner

per-corner

Panel Inset

per-corner

How to Use CSS Border Radius Generator

Create rounded corners for any element in seconds. Follow these steps to generate cross-browser border-radius CSS and Tailwind code with live preview.

1

Choose uniform or per-corner

Toggle Uniform radius in Configuration to use one value for all four corners, or turn it off to set Top left, Top right, Bottom right, and Bottom left independently (in pixels).

2

Adjust radius values

Use the number inputs to set the radius in pixels. The Live Preview updates instantly. For pill/capsule shapes use a large value (e.g. 9999px); for sharp corners use 0.

3

Pick a preset (optional)

Scroll to 80+ Border Radius Effects and click any preset (e.g. Blob, Message Bubble, Lens, Stamp) to apply that shape. You can then fine-tune the values in Configuration.

4

Copy CSS or Tailwind code

In the Generated CSS tab you get cross-browser prefixed border-radius (webkit, moz, ms, o, standard). In the Tailwind CSS tab you get the matching class or arbitrary value. Click Copy and paste into your project.

Understand Border Radius with CSS & Tailwind

border-radius rounds the corners of an element. You can use one value for all corners (e.g. 12px or 50%) or up to four values for top-left, top-right, bottom-right, and bottom-left. Percentages are relative to the element’s dimensions (50% on a square makes a circle).

CSS

Standard shorthand: border-radius: 12px; or border-radius: 8px 16px 8px 16px;. For older browsers, use vendor-prefixed properties (-webkit-border-radius, -moz-border-radius, etc.); the generator outputs these for you.

Tailwind CSS

Use utilities like rounded, rounded-lg, or arbitrary values: rounded-[12px] for uniform radius. For per-corner control use rounded-tl-[8px] rounded-tr-[16px] rounded-br-[8px] rounded-bl-[16px]. The generator shows the exact class names for your current values.

Top Features of CSS Border Radius Generator

Our CSS Border Radius Generator gives you everything you need to create rounded corners for buttons, cards, modals, and more.

Uniform & per-corner control

Set one radius for all corners or define top-left, top-right, bottom-right, and bottom-left separately for asymmetric and organic shapes.

80+ presets

One-click presets for Blob, Bubble, Lens, Stamp, Card, Tag, Stadium, and many more. Great for chat bubbles, badges, and modern UI patterns.

Live preview

See the rounded shape update in real time as you change values or apply presets. The selected preset name appears as a tag next to the preview header.

Cross-browser CSS & Tailwind

Get prefixed CSS (-webkit-, -moz-, -ms-, -o-, standard) for maximum compatibility, plus ready-to-use Tailwind class names or arbitrary values.

Frequently Asked Questions

What is border-radius in CSS?

border-radius rounds the corners of an element. You can set one value for all corners or up to four values for top-left, top-right, bottom-right, and bottom-left. Values can be in px, %, or other CSS units.

Can I use percentage values?

Yes. CSS border-radius accepts percentages (e.g. 50% for a circle on a square). This generator uses pixels by default; you can edit the copied CSS and change px to % if needed.

Is this tool free?

Yes. The CSS Border Radius Generator runs in your browser with no sign-up or server uploads. All processing is local and free.

🚀

Love this tool? Share it Now!

Help others discover this tool quickly

Explore Other Tools

Discover more free tools to boost your productivity

All Tools

Box

CSS

Box Shadow CSS Generator Online

Create beautiful box shadow with our free box shadow css generator. Generate custom box shadow css with 60+ preset effects, live preview & instant Tailwind and CSS box shadow code.

Gradient

CSS

CSS Gradient Generator Online

Create beautiful gradient background using tailwind CSS Gradient Generator. Use 90+ presets to generate customized tailwind, CSS gradient background code quickly with live preview.

HEX: #ff5733

RGB: 255, 87, 51

HEX: #4a90e2

RGB: 74, 144, 226

CSS

HEX to RGB Converter - Free Online Color Converter Tool

Convert HEX color codes to RGB values instantly with our free HEX to RGB converter. Learn how HEX to RGB conversion works, understand color formats, and get accurate RGB values for web development.

Blog Post

Transform your content...

Social Post

AI Tools

Free AI Powered Blog to Social Media Post Generator

Transform any blog post into engaging, platform-optimized content using our Blog to Social Media Post Generator. Powered by AI to maintain your message while adapting tone and style.

Stay Updated

Subscribe to FrontendGeek Hub for frontend interview preparation, interview experiences, curated resources and roadmaps.

FrontendGeek
FrontendGeek

All in One Preparation Hub to Ace Frontend Interviews. Master JavaScript, React, System Design, and more with curated resources.

Consider Supporting this Free Platform

Buy Me a Coffee

Product

HomeFrontend InterviewInterview ExperienceBlogsToolsLeaderboard

Tools

CSS Image FilterPixelate ImageAspect Ratio CalculatorBox Shadow GeneratorCSS Gradient GeneratorNeumorphism GeneratorExplore More Tools →

© 2026 FrontendGeek. All rights reserved