Toolnova
Color & Design

CSS Border Radius Generator

Design perfect CSS border-radius values with per-corner sliders, handy presets, and a live shape preview — then copy the one-liner straight into your code.

  • 100% free
  • No signup
  • Private — in your browser
  • No watermark
Live tool · runs in your browser
Highlights

Why use CSS Border Radius Generator?

  • Independent per-corner sliders plus a link-all toggle for convenience
  • Eight ready-made presets: None, Slight, Rounded, Large, Pill, and more
  • Live shape preview with a customizable background color
  • Outputs compact shorthand CSS — four equal values collapse to a single value
Overview

About CSS Border Radius Generator

Rounded corners are one of the most visible details in modern UI design, and getting them exactly right matters. The CSS Border Radius Generator gives you sliders for all four corners — top-left, top-right, bottom-right, and bottom-left — so you can sculpt any shape from a sharp rectangle to a full pill or an asymmetric ticket shape. A selection of built-in presets covers the most common patterns, and a "link corners" toggle lets you change all four at once while still allowing independent adjustments.

The live preview updates with every slider movement so you always see your shape as you build it. Choose a custom preview color to test your radius against your brand palette. The tool runs entirely in your browser — completely free, no login required, and nothing is ever sent to a server.

Step by step

How to use CSS Border Radius Generator

  1. 1

    Pick a preset or start from scratch

    Click a preset button to jump to a common radius style, or drag the sliders manually for a custom shape.

  2. 2

    Fine-tune individual corners

    Uncheck "Link all corners" and adjust each corner independently to create asymmetric or directional shapes.

  3. 3

    Copy the CSS

    Click the copy button next to the border-radius declaration and paste it into your stylesheet or design system token.

FAQ

Frequently asked questions

What is the difference between border-radius shorthand and four values?

A single value (e.g., `12px`) applies the same radius to all four corners. Four values (e.g., `0px 24px 0px 24px`) set them individually in top-left → top-right → bottom-right → bottom-left order.

How do I make a pill / capsule shape?

Set all corners to a very large value like 9999px. The browser clamps each corner so adjacent corners share the available space evenly, producing a perfect pill regardless of the element's size.

Can I create elliptical corners like `50% / 30%`?

This tool generates pixel-based shorthand values. For advanced elliptical radii (using the `/` syntax), you would need to write the CSS manually.

Does this work with Tailwind CSS?

Yes. Use Tailwind utilities like `rounded-xl` for preset values, or an arbitrary value like `rounded-[12px_24px_12px_24px]` for custom shapes.

Is the tool free and private?

Yes. It is completely free, requires no account, and runs 100% in your browser. No data is sent anywhere.

Related color & design

See all color & design

Browse more free tools

Explore every category in our toolbox.