Skip to content
Tesserae

Keyboard shortcuts

Focus search
/
This help dialog
?
Run the current tool
Ctrl/⌘ +Enter
Copy the output (when an output is focused)
Ctrl/⌘ +C

Shortcuts are ignored while you are typing in an input, a textarea or a select.

Web & CSS

CSS Border Radius Generator

Set a radius for each corner and get a ready-to-paste border-radius rule, collapsed to the shortest equivalent form (one, two, three or four values). Switch the unit between px and %, use the elliptical form (`x / y`) for squashed corners, and copy the previewed result.

On-device No network Offline-ready

🔒 100% Client-Side & Private — processed locally in your browser. Files never leave your device.

Try:

Options

Your result will appear here

Type or paste your input above, adjust the options, then press Run. Tip: press Ctrl+Enter to run, and ? for every shortcut.

Questions

Why did my four values become one?

CSS collapses equal corners: four identical values become one, opposite pairs that match become two, and a matching bottom-right/bottom-left pair become three. The generator emits the shortest form that preserves the shape.

When do I need the slash syntax?

The `x / y` form makes each corner elliptical — different horizontal and vertical radii. A value of `50% / 25%` gives a lozenge; plain `50%` gives a circle.

Does this work on any element?

Yes. border-radius applies to any box, but it only clips content when the element establishes a clipping context, for example with `overflow: hidden` on an image wrapper.

How it works

CSS Border Radius Generator runs entirely in your browser tab. Your input is processed by JavaScript on this device. Nothing is uploaded, and the page works offline once it has loaded.

See category