Skip to main content

CSS Border Radius Generator — 8 Corners + Blob Shapes

Border radius generator — independent 8-corner control + blob shape randomizer, live preview, copy CSS or SVG path.

  • Runs locally
  • Category Color & Design
  • Best for Moving from a visual idea to reusable color values.
All corners 30%
border-radius: 30%;
M 96 0 L 224 0 C 277.02 0 320 42.98 320 96 L 320 224 C 320 277.02 277.02 320 224 320 L 96 320 C 42.98 320 0 277.02 0 224 L 0 96 C 0 42.98 42.98 0 96 0 Z

What this tool does

A border-radius generator that goes past the four-number form you usually see. CSS actually supports eight values — one horizontal and one vertical radius for each of the four corners — and this tool exposes all of them. Three modes cover the full range from "I just want rounded corners" to "I need a deliberate organic shape": Simple gives you a single slider that drives all four corners; Advanced opens eight independent sliders mapped to top-left H + V, top-right H + V, bottom-right H + V, and bottom-left H + V; Blob seeds a deterministic random generator so every seed produces a reproducible organic shape — same number, same blob, every time. The live preview is a real DOM element styled with the exact `border-radius:` declaration shown in the output panel, so what you sculpt is exactly what ships. Twelve hand-tuned presets cover the shapes you actually reach for: pill, card, squircle, chip, ticket, lemon, leaf, drop, egg, talk-bubble, blob, and plain square. One click copies the full CSS declaration; one more copies an equivalent SVG path approximation built with cubic bezier corners — drop that into an `<svg>` to use the same shape as a background or decorative element. The tool emits the compact form when corners collapse (`border-radius: 12px` instead of `border-radius: 12px 12px 12px 12px`) and the full eight-value slash form (`H1 H2 H3 H4 / V1 V2 V3 V4`) only when it actually needs to. Switch units between `%` and `px` with one click. 100% client-side, zero dependencies, zero network calls.

Tool details

Input
Numbers
The page exposes text boxes, numeric controls, file pickers, or structured inputs depending on the tool.
Output
Live result + Copy + Download
The result area focuses on usable output, with copy, download, or preview actions when supported.
Privacy
Browser-side processing
The main tool logic does not call an external API, so inputs normally stay in the current tab.
Save / share
No account required
Open the page and use it; whether results survive refresh depends on the tool.
Performance budget
Initial JS <= 20 KB
No WASM budget is declared, keeping the tool quick to open on mobile.
Best fit
Color & Design · Designer
Category and role tags drive related tools, internal links, and quick fit checks.

How to use

  1. 1. Input

    Paste or drop your content into the tool panel.

  2. 2. Process

    Click the button. All processing is local in your browser.

  3. 3. Copy / Download

    Copy the result or download to disk in one click.

How CSS Border Radius Generator fits into your work

Use it while choosing, checking, converting, or documenting colors for real interface work.

Color jobs

  • Moving from a visual idea to reusable color values.
  • Checking contrast and accessibility before a UI ships.
  • Keeping brand, design, and implementation color decisions aligned.

Color checks

  • Verify contrast against the actual background, not just a sample swatch.
  • Check dark and light themes separately when both exist.
  • Copy the final format your design system or codebase expects.

Good next steps

These links move the current task into a more complete workflow.

  1. 1 CSS Triangle Generator Pure-CSS triangles via the border trick — 8 directions, live preview, copy both border + clip-path CSS — browser-only Open
  2. 2 CSS Transform Generator CSS transform generator — rotate/scale/skew/translate (2D + 3D) with live preview, copy CSS, 12 preset combos. Open
  3. 3 CSS Loaders Generator CSS loaders — 40+ pure-CSS spinners/skeletons, customize color/size/speed, copy ready-to-use code. Open

Real-world use cases

  • Shipping a real squircle for app icons and avatar masks

    iOS-style squircles aren't a single radius — they need the H/V asymmetry that four-number generators can't produce. Drop the squircle preset, copy the eight-value form, and apply it to a 120px avatar. Because the curvature is continuous, the corners read as smooth at retina scale instead of the slightly "pinched" look you get from a flat 24px radius on the same box.

  • Building a morphing blob background for a hero section

    Generate three blob configs with the same seed (say 4827) but complexity 0.3, 0.6, and 0.9, copy each as an explicit eight-value declaration, and loop them in @keyframes over 12s. You get that slow organic wobble behind a headline without an SVG library or a single network request, and the seed lets a teammate reproduce the exact same three shapes from the number alone.

  • Locking a card radius into a design system token

    Your team standardized on an 8px card and a 999px pill. Use Simple mode, set 8px, copy `border-radius: 8px`, paste it as `--radius-card`. Switch to the pill preset for the chip token. The tool collapses identical corners to one number, so the token value stays clean instead of carrying four repeated 8px you'd have to eyeball-verify in review.

  • Exporting an SVG clip-path for a ticket or talk-bubble shape

    A coupon card with notched ticket corners is painful to hand-write. Pick the ticket preset, copy the SVG path, and drop it into a `<clipPath>` to mask a product image. Because the path scales without pixelation, the same shape works on a 320px mobile card and a 1440px desktop banner from one definition.

Common pitfalls

  • Copying the four-value form for a blob shape — the H/V asymmetry is lost and you get a plain rounded box. Use the eight-value slash output (e.g. `30% 70% 70% 30% / 30% 30% 70% 70%`) for any organic shape.

  • Animating between two blobs written in short form — the browser can't interpolate `12px` against `30% 70% ...`. Write both keyframes with all eight values and the same unit so the transition stays smooth.

  • Treating the SVG path as pixel-exact for a UI box. It's a 0.5523-bezier approximation meant for backgrounds and clip-path; for the rendered element border itself, use the CSS output, which draws true elliptical arcs.

Privacy

Everything runs in your browser. Slider values, seeds, presets, and both the CSS and SVG output are computed locally with zero network calls. The shape config is encoded into the URL so you can share a link that reopens the exact same shape — only the radius numbers and unit travel in that link, nothing else, and you can clear it by editing any slider.

FAQ

Tool combos

Folks in your role tend to reach for these alongside this tool.

Made by Toolora · 100% client-side · Updated 2026-06-13