ESC

Border Radius Controls

20px
20px
20px
20px

Live Preview

CSS Output

All processing happens in your browser. No data is sent to any server.

Usage Examples

Perfect Circle

Create a perfectly round element with 50% border radius on all corners.

Pill Shape

Design a pill-shaped button with large horizontal border radius values.

Organic Shape

Create unique organic shapes by setting different values for each corner.

Features

Live Visual Preview

See the border radius effect update in real-time as you adjust the sliders

Individual Corner Control

Adjust each corner independently or link them all for uniform border radius

Preset Shapes

Quick access to common shapes like circle, pill, rounded rectangle, and custom

Privacy First

Everything runs in your browser — no data is sent to any server

How to Use?

1

Adjust Corners

Use the sliders to set the border radius for each corner, or toggle link mode for uniform values.

2

Preview the Shape

Watch the live preview box update instantly as you change the radius values.

3

Copy the CSS

Click the Copy CSS button to copy the generated border-radius code to your clipboard.

Frequently Asked Questions

Set border-radius to 50% on an element where width equals height. The 50% applies to both axes, which rounds every corner to its maximum and creates a perfect circle. Use the Circle preset in this tool to generate it instantly. Note: if the element is not square, you get an ellipse instead.

Pixels give you a fixed curve size regardless of the element size — "10px" always rounds corners by 10 pixels. Percentages scale relative to the element dimensions — "50%" on a 100px square gives a 50px radius. Use px for consistent-looking buttons and cards at any size. Use % for shapes that should scale proportionally, like circles or pill buttons.

Unlink the corners using the link toggle, then adjust each corner slider individually. The CSS shorthand for four separate values is: border-radius: top-left top-right bottom-right bottom-left. For example: "border-radius: 10px 20px 30px 40px" sets each corner differently going clockwise from the top-left.

When all four corners are equal, CSS shorthand lets you write just one value: "border-radius: 16px". When two pairs are equal (top-left/bottom-right vs top-right/bottom-left), you write two values: "border-radius: 10px 20px". The tool always generates the most concise shorthand for your values.

A pill shape has fully rounded left and right ends and flat top and bottom edges (or vice versa). You get it by setting a very large border-radius — typically "9999px" or "50%" — on a rectangular element. The browser clamps the radius at half the shorter dimension, producing perfect semicircles on each short end. Use the Pill preset in this tool.

Yes. The tool supports px and % as unit options. If you need em or rem units for a design system, note the pixel value and convert it in your CSS manually. The border-radius property accepts any valid CSS length unit (px, em, rem, %, vw, etc.) — the tool generates px and % since those are most common.

Yes. border-radius clips the entire box, including background images and colors. If you also have overflow:visible on the element, child elements may still overflow the rounded corners — add "overflow: hidden" to clip them too. The rounded corners apply consistently to the background, border, and box-shadow.

No. Everything runs in your browser via JavaScript. No CSS values, no design data — nothing leaves your device.

What Does This Tool Do?

This border-radius generator lets you visually design rounded corners for any CSS element. Drag the sliders, watch the preview update in real time, and grab the generated CSS with one click. No more guessing pixel values in your stylesheet.

How border-radius Works in CSS

The CSS border-radius property accepts values in pixels, percentages, or ems for each corner. You can set all four corners at once with shorthand (border-radius: 10px) or control each one individually. Percentages are relative to the element's dimensions, which is why 50% on a square makes a circle.

Preset Shapes and Custom Designs

Jump-start your design with built-in presets for circles, pills, and rounded rectangles. Or go wild with asymmetric values on each corner to create organic, blob-like shapes that are trendy in modern UI design.

Works With Every Modern Browser

The border-radius property is supported by all major browsers, including Chrome, Firefox, Safari, and Edge. The shorthand syntax generated by this tool is the most compatible format, so you can paste it straight into your project without vendor prefixes.

Privacy and Speed

This tool runs 100% in your browser. No server requests, no tracking of your designs, no account needed. Just open the page and start designing.

Security and Privacy

Your data security is our priority

Local Processing

All processing happens in your browser

No Data Transfer

Your data is not sent to our servers

No Data Storage

No data is stored or shared

SSL Encryption

SSL encryption for secure connection

Next Step

Also on MoreOnlineTools