ToolsKit

CSS Border Radius Generator

Design rounded corners per corner and copy the CSS.

Design rounded corners per corner and copy the CSS. Free, instant and private in your browser.

Loading the interactive tool… This page needs JavaScript to run the CSS Border Radius Generator.

How to use CSS Border Radius Generator

  1. Choose your colors or values.
  2. Preview the result live.
  3. Tweak until it looks right.
  4. Copy the CSS or code into your project.

How CSS Border Radius Generator works

Four number fields set the top-left, top-right, bottom-right and bottom-left corner radii in pixels, each limited to 0 through 500. The tool writes the border-radius shorthand in that clockwise order and draws a preview box using the same values. It handles circular corners only, not the elliptical slash syntax or percentage values.

Worked example

Input top-left 24, top-right 0, bottom-right 24, bottom-left 0 → Output border-radius: 24px 0px 24px 0px; which rounds two opposite corners and leaves the other two square.

Common uses

  • Creating a leaf or tab shape where only some corners are rounded.
  • Matching the exact corner values from a design spec for a card.
  • Checking the clockwise order of the shorthand before writing it by hand.

Best for

  • web and UI design
  • front-end development
  • quick visual experiments

Tips for better results

  • Different values per corner give organic shapes.
  • Check color contrast for accessibility.
  • Test designs on light and dark backgrounds.
  • Keep a copy of final values in your design system.

Frequently asked questions

How do I make a circle?

Use a square element with a border-radius of 50%.

Is my data sent to a server?

No. This tool runs in your browser, so what you enter stays on your device.

Do I need an account to use CSS Border Radius Generator?

No account or sign-up is needed. Just open the tool and use it.

Related tools

Explore tool categories