InstantTools.siteZero Latency Utilities
dev Tool
100% In-Memory (Zero Server Upload)

8-Value Border Radius Generator

Set each corner radius independently, get the shortest valid CSS shorthand, and preview the result live.

Corner values

Link corners

One unit applies to all four corners. With % each corner is resolved against that side's own width or height, so opposite corners can look different on a box that is not square.

Live preview

1 value

12px

The blue box uses the shortest valid border-radius shorthand as an inline style, so the preview always matches the copied CSS.

Generated CSS

Shorthand form chosen: 1 value — every corner is the same

/* Border radius generator — generated by InstantTools.site */
.radius-box {
  border-radius: 12px;
}

102 characters

How the shortest shorthand is picked

1 value  A                      → all four corners equal
2 values A B                    → TL & BR = A, TR & BL = B
3 values A B C                  → top = A, sides = B, bottom = C
4 values TL TR BR BL            → no matching pairs

CSS lets you leave out any values that repeat the one to their left, so this tool always emits the shortest form that still describes your four corners — and tells you which form it picked. Switch on the verbose view when you prefer explicit longhands for readability or for animating a single corner.

About 8-Value Border Radius Generator

Round the corners of a box however you like. Each of the four corners takes its own length, and a link toggle mirrors one value across all of them so you can return to a simple shape in one click. The generator then works out the shortest correct CSS form — one value when everything matches, two or three when only some corners share a value, and four when they do not — and shows the expanded form as well. Pixel, rem and percentage units are all available.

Key Features & Privacy Guarantee

  • Zero server transmission: all computation happens instantly in your local browser runtime.
  • No sign-up, no subscriptions, and no usage quotas.
  • Optimized for maximum speed, accuracy, and lightweight performance.
  • Instant one-click clipboard copying.

Frequently Asked Questions

Common questions and helpful answers about this utility.

CSS allows between one and four corner values and fills in the rest following a fixed pattern. The generator works out that pattern so the shorthand you copy is the shortest valid one.