Does this tool support percentage values, for circles or ellipses?
No. Every output value is in pixels - there's no unit toggle. To get a percentage-based border-radius (like 50% for a circle on a square), you'll need to write that CSS by hand.
Generate CSS border-radius code online free with a live shape preview. Control each corner independently, from 0 to 200px, and copy pixel-based border-radius CSS - no percentage or blob-shape support.
If this tool isn’t working as expected, please take a screenshot of the error and report the problem here so we can investigate and improve it.
Remembering the four-value border-radius order (top-left, top-right, bottom-right, bottom-left) and guessing pixel values from a mental picture is error-prone. This tool lets you drag each corner and see the shape update immediately, then copies the exact value - no manual four-value shorthand to write by hand.
Set a border-radius value for each corner independently on a fixed-size preview box, from 0 to 200px, then copy the CSS. Corners can be linked (one value for all four) or unlinked (each corner set separately) - the output is always a plain pixel value, in the standard border-radius shorthand. This tool does not output percentages or elliptical slash syntax. The fixed rectangular preview shows corner rounding; a circle also needs a square element in your own layout.
Toggle "Link all corners" for one shared radius, or turn it off to set each corner independently.
Drag the slider or type a value from 0 to 200px for each corner.
See the shape update in real time as you adjust.
Copy the shortest equivalent pixel shorthand, using one to four values.
Leave "Link all corners" checked for one shared radius, or uncheck it to set each corner separately.
Drag the slider or type a number (0-200px) for each corner - the live preview updates instantly.
The preview box is a fixed rectangle - use it to judge relative roundness, not to confirm an exact circle or blob shape.
Copy gives you a single border-radius value: one to four numbers, using the shortest equivalent shorthand.
What to expect
Input
Link all corners: on, radius: 24pxResult
border-radius: 24px;When corners are linked, the tool always outputs the one-value shorthand form, applying that radius to all four corners.
Input
Link all corners: off, TL: 24px, TR: 24px, BR: 0px, BL: 0pxResult
border-radius: 24px 24px 0 0;The tool always uses the single border-radius property with up to four values - it never outputs individual longhand declarations like border-top-left-radius separately.
Input
Any combination of corner valuesResult
Only plain pixel values, like border-radius: 200px; - never a % value and never a value containing a slash (/)There's no unit toggle and no elliptical-corner mode - if you need border-radius: 50% or a slash-syntax blob shape, you'll need to write that CSS by hand.
Problem
Solution
There isn't one - the tool only outputs pixel values. Use 50% on a square in your stylesheet, or copy a pixel radius at least half that square's side length.
Problem
Solution
Blob shapes require the elliptical slash syntax (e.g., 50% 50% 50% 50% / 60% 60% 40% 40%), which this tool doesn't generate.
Problem
Solution
The preview box is a fixed non-square rectangle, so it can never display a true circle regardless of the radius value entered.
Problem
Solution
The tool always outputs the border-radius shorthand (one to four values, whichever is shortest) - never separate border-top-left-radius-style declarations.
There's no unit toggle - output is always in px, so percentage-based circles and ellipses can't be generated here.
The tool has no 8-value or slash-syntax mode - organic blob shapes aren't achievable through this UI.
There's no width or height control - the preview can't demonstrate a true circle regardless of the radius entered.
Always outputs the single border-radius property (one to four values, whichever is shortest) - never individual longhand corner properties.
There's no pill, circle, or blob preset button - every shape is built manually with the corner sliders.
Only a Copy button exists.
The most common question is how to make a perfect circle or an organic blob shape. This tool outputs pixel radii. It has no elliptical slash-syntax controls for organic blobs, and its preview is a fixed rectangle. For a circle, make your element square and use 50%, or a pixel radius at least half the side length. The preview's shape does not set your element's dimensions.
No. Every output value is in pixels - there's no unit toggle. To get a percentage-based border-radius (like 50% for a circle on a square), you'll need to write that CSS by hand.
No. The tool has no 8-value or slash-syntax mode - it only ever outputs plain pixel values through the standard border-radius shorthand (one to four values in the shortest valid form, with 0 written without a unit).
No. The tool always uses the single border-radius shorthand property - it never outputs separate border-top-left-radius, border-top-right-radius, and similar longhand declarations.
Each corner's slider and number input range from 0 to 200px; a typed value outside that range is clamped to it, with a short notice, so 500 becomes 200px and -5 becomes 0. The preview box itself is a fixed, non-square rectangle with no width or height control, so it can never display a true circle - only relative roundness for that fixed shape.
border-radius can take 1–4 values. One value: applies to all four corners. Two values: first applies to top-left and bottom-right, second to top-right and bottom-left. Three values: top-left, top-right+bottom-left, bottom-right. Four values: top-left top-right bottom-right bottom-left (clockwise). Example: border-radius: 8px 16px 8px 16px; creates alternating corner rounding. This tool emits the shortest equivalent one-, two-, three- or four-value shorthand. For example, alternating 8px and 16px corners copy as border-radius: 8px 16px;.
Set border-radius: 50% on an element that has equal width and height. For example: width: 80px; height: 80px; border-radius: 50%; - creates a perfect circle. For non-square elements, 50% creates an ellipse. border-radius: 999px or border-radius: 9999px is an alternative that creates pill shapes for elements of any size, as long as the value exceeds half the element's dimensions. This is general CSS knowledge - this tool itself has no percentage mode and its sliders cap at 200px, A square with a pixel radius at least half its side also forms a circle; the fixed rectangular preview here cannot demonstrate that square layout.
Use individual corner properties: border-top-left-radius, border-top-right-radius, border-bottom-right-radius, border-bottom-left-radius. Or use shorthand with specific values: border-radius: 12px 12px 0 0; - rounds only the top two corners, leaves the bottom two sharp. This is commonly used for card headers, tab components, and top-attached modals. This tool supports the shorthand approach directly - unlink the corners and set the bottom two to 0.
CSS border-radius supports elliptical corners using two values separated by a slash: border-radius: 50% / 30%; - 50% horizontal radius, 30% vertical radius, creating an ellipse. The full syntax: border-radius: h-radius / v-radius. This is used for leaf shapes, oval buttons, and organic blob shapes. Example: border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; creates a blob-like shape. This is general CSS knowledge only - this tool cannot generate slash-syntax values like these; it only outputs plain pixel values.
Pixel values are fixed regardless of element size - border-radius: 8px always creates an 8px radius corner. Percentage values are relative to the element's dimensions - border-radius: 50% creates a circle on a square element but an ellipse on a rectangle. Use px for UI components where the corner size should stay consistent. Use % when you want the corner rounding to scale proportionally with the element. This tool only produces the px form.
Leave your email so we can prioritize similar tools and updates.