Skip to content
Toolars
Explore

CSS Border Radius Generator

Eight horizontal and vertical border radii; export elliptical corners as copyable CSS.

Local processing

Processing details

Tool inputs are processed on your device.

Resources may be downloaded to run this tool. Account services are separate.

Privacy information
Report bug

Task path / input to outcome

How to shape a CSS border radius

  1. 01

    Choose the unit

    Set Unit to Pixels or Percent — the workspace starts in Pixels. Pixels stay constant at any element size; percent values scale with the element, which is what makes organic, asymmetric shapes possible.

  2. 02

    Adjust the four corners

    Move Top left, Top right, Bottom right, and Bottom left — each from 0 to 100 in the chosen unit, in steps of 1. All four start at 24 px, and the preview card redraws with every change.

  3. 03

    Link or unlink the corners

    Keep Link all corners on to change every corner at once, or turn it off to shape each corner independently. The workspace states it next to the toggle: changing one corner updates all four while linked.

  4. 04

    Try the sample shape

    Press Load sample for an asymmetric reference: Top left and Bottom right at 64 px, Top right and Bottom left at 12 px, unlinked — the diagonal leaf shape used on cards and avatars. Reset returns to the uniform 24 px default.

  5. 05

    Add vertical radii

    Under Vertical radii, give each corner a second value from 0 to 100 in the same unit. The first edit turns Link all corners off and writes the declaration as horizontal / vertical: four values clockwise from top-left, a slash, then four more, which makes the corners elliptical. The status badge reads VALID CSS; any out-of-range value switches it to CHECK VALUES and blocks copying and downloading.

  6. 06

    Copy or download the CSS

    Export the current result. CSS / HTML. HTML includes the current CSS and a working example. Native controls support keyboard input.

Tool facts

Processing
In your browser
Input leaves this device
Never
Retention
Nothing is stored
Price
Free

Your input stays in the browser.

CSS Border Radius Generator uses its verified local execution path and does not create a hidden input or output history.

Local execution

Runs inside the current browser tab.

No hidden processing

Active tool data never becomes a Toolars document record.

No account required

Use the core workflow without creating a profile. Favorites sync to your account after you sign in.

Immediate reset

Clear the tab and the active working data is gone.

What CSS Border Radius Generator actually does

Rounded corners set the tone of an interface: 8 px for a quiet form, 24 px for a friendly card, wildly asymmetric values for the organic blob behind a hero section. Guessing four numbers in a stylesheet is slow, especially in percent, where the curve depends on the element's proportions. CSS Border Radius Generator shows the exact shape as you drag, with the corners linked for uniform rounding or unlinked for leaf and blob shapes. It then hands you the declaration — rendered and validated locally.

Common questions

What is the difference between Pixels and Percent?
Pixels give every corner a fixed radius regardless of element size. Percent resolves against the element's dimensions, so the same value produces a different curve on a tall card than on a wide one — that relativity is exactly what enables ellipse and blob shapes. Eight horizontal and vertical border radii; export elliptical corners as copyable CSS. HTML includes the current CSS and a working example. Native controls support keyboard input.
What does Link all corners do?
While linked, changing any corner updates all four to the same value, which keeps uniform rounding quick. Turn the toggle off to control Top left, Top right, Bottom right, and Bottom left independently — the asymmetric sample preset is built that way.
How do I get a perfect circle or ellipse?
Switch Unit to Percent and set all four corners to 50: on a square element the result is a perfect circle, and on a rectangular one an ellipse. That is the standard avatar and pill technique, and the preview shows it before you copy anything.
border-radius · What does export contain?
border-radius: a b c d / e f g h. HTML includes the current CSS and a working example. Native controls support keyboard input.
What are the limits?
Each corner accepts 0 to 100 in the selected unit, in steps of 1. Out-of-range values are highlighted with CHECK VALUES, and copying or downloading is blocked until they are fixed.
Is anything uploaded or stored?
No. The preview and the generated CSS are computed inside this browser tab, and no generated value enters storage, logs, analytics, or the network.

Related tasks, not a dead end.

Move into another focused workspace without returning to the full index.

CSS Loader Generator

264 loader templates: 24 geometries × 11 motion profiles; filter by category and inspect the animation.

Create

CSS Checkbox Generator

24 checkbox templates: eight marks × three transitions; click or press Space in the native preview.

Create

CSS Switch Generator

18 switch templates: six thumb shapes × three transitions; test the native control by click or keyboard.

Create

CSS Clip Path Generator

24 clip shapes, primitive parameters and editable polygon points; export CSS or a declaration.

Create