InputTestHub

Border Radius Generator

Builds CSS border-radius including per-corner and elliptical values, with a live preview.

Colour & Design Nothing uploaded No sign-up Free, unlimited
Colour & Design tool
12
12
12
12
12
Fill in the fields and press Generate.
In short border-radius accepts one value for all four corners, or up to four for each corner individually, and a slash to make them elliptical rather than circular — `border-radius: 30px / 60px` gives corners that are wider than they are tall. The elliptical form is what produces organic blob shapes when the eight values are all different, and it is the part most people never discover. The rule worth internalising is about nesting. When a rounded element sits inside another rounded element, the inner radius should be the outer radius MINUS the padding between them, or the two curves run at different rates and the gap between them visibly pinches at the corner. A 16px card radius with 8px of padding wants an 8px radius on whatever is inside it. Two smaller notes. A radius larger than half the element's size is clamped, which is why 9999px is the reliable way to make a pill rather than a rounded rectangle — the browser reduces it to exactly half the height. And a radius on an element with `overflow: visible` will not clip its children; you need `overflow: hidden` for an image to actually take the corner.

How to use the Border Radius Generator

  1. Fill in the fields with your own details.
  2. The generated code updates live in the output panel.
  3. Copy the code and paste it into your page, file or CMS.

About the Border Radius Generator

The Border Radius Generator builds CSS border-radius including per-corner and elliptical values, with a live preview. It runs as plain JavaScript inside the page, which means there is no upload step, no queue and no size limit imposed by a server — the only limit is your own device.

What people use it for

  • Getting the syntax for uneven corners.
  • Making an organic blob shape.
  • Matching a design mockup exactly.

Frequently asked questions

Is the Border Radius Generator free?
It is free, with no account, no trial and no daily cap. Every colour & design tool on inputtesthub.com works the same way: open the page and use it.
Is the Border Radius Generator safe to use with private information?
No. The Border Radius Generator runs entirely in your browser using JavaScript. Because the work happens locally, the tool also keeps working if your connection drops, and closing the tab is all it takes to discard everything.
What is the Border Radius Generator used for?
The most common reasons people reach for it: getting the syntax for uneven corners. Making an organic blob shape. Matching a design mockup exactly. It is built for exactly those cases rather than being a general-purpose tool with this bolted on.
Is there an app version?
Yes. The page is responsive and the tool works in Chrome, Safari, Firefox, Edge and Samsung Internet on both Android and iOS. There is no app to install and nothing to sign into.

Related colour & design tools

All 33
01

CSS Gradient Generator

Builds linear, radial and conic CSS gradients with multiple stops, live preview and copyable…

02

Box Shadow Generator

Builds CSS box shadows with multiple layers, live preview and copyable output including inset…

03

Text Shadow Generator

Creates CSS text shadows including outline, emboss, neon and long-shadow effects.

05

Neumorphism CSS Generator

Generates soft-UI shadows where an element appears extruded from or pressed into the background.

06

Cubic Bezier Generator

Builds CSS easing curves with a draggable preview and a library of standard easings.

07

CSS Filter Generator

Builds CSS filter chains — blur, brightness, contrast, grayscale, hue-rotate, invert…

08

CSS Transform Generator

Builds CSS transforms — translate, rotate, scale, skew and 3D perspective — with a live preview.

09

Flexbox Generator

Builds flexbox layouts visually and outputs the CSS, with every alignment and wrapping option…

10

CSS Grid Generator

Builds CSS Grid layouts with columns, rows, gaps and named areas, and outputs ready-to-use CSS.