Skip to main content
L
Loopaloo
Buy Us a Coffee
All ToolsImage ProcessingAudio ProcessingVideo ProcessingDocument & TextPDF ToolsCSV & Data AnalysisConverters & EncodersWeb ToolsMath & ScienceGames
Guides & BlogAboutContact
Buy Us a Coffee
L
Loopaloo

Free online tools for developers, designers, and content creators. All processing happens entirely in your browser - your files never leave your device. No uploads, no accounts, complete privacy.

support@loopaloo.com

Tool Categories

  • Image Tools
  • Audio Tools
  • Video Tools
  • Document & Text
  • PDF Tools
  • CSV & Data
  • Converters
  • Web Tools
  • Math & Science
  • Games

Company

  • About Us
  • Contact
  • Blog
  • FAQ

Legal

  • Privacy Policy
  • Terms of Service
  • Disclaimer

Support

Buy Us a Coffee

© 2026 Loopaloo. All rights reserved. Built with privacy in mind.

Privacy|Terms|Disclaimer
  1. Home
  2. Web Tools
  3. CSS Border Radius Generator
Add to favorites

CSS Border Radius Generator

Create custom border radius with individual corner control, linked/unlinked mode, px/% units, interactive corner sliders on preview, and 12 shape presets

Fine-tune border-radius values for each corner independently, preview the shape in real time, and copy the CSS. Supports shorthand and per-corner syntax.

Runs locally in your browserMore web toolsJump to full guide

Initializing in your browser…

You might also like

CSS Clip Path Generator

Create custom CSS clip-path shapes visually. Drag points to customize polygons, circles, and complex shapes.

CSS Gradient Generator

Create stunning CSS gradients with linear/radial/conic types, angle control, position control, multiple color stops, 11 presets, and reverse/randomize features

CSS Box Shadow Generator

Design complex box shadows with multi-layer support, inset shadows, visibility toggle, layer reordering, opacity control, and 12 professional presets

CSS Border Radius Generator: a worked example

You want an organic "blob" avatar frame, which needs the eight-value elliptical border-radius syntax most people never write by hand.

Handles dragged to

Asymmetric blob preset, nudged toward top-left
CSS Border Radius Generator produces

Resulting CSS

border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;

The slash splits horizontal radii (before) from vertical radii (after), letting each corner be an ellipse rather than a circle, that is what produces the irregular, lava-lamp silhouette. Hand-authoring eight coupled percentages is painful; dragging the handles and copying the exact declaration is not.

About the CSS Border Radius Generator

Fine-tune border-radius values for each corner independently, preview the shape in real time, and copy the CSS. Supports shorthand and per-corner syntax.

Key features

  • Individual corner control
  • Visual shape preview
  • Shorthand and longhand CSS output
  • Pixel and percentage units

How to use

  1. 1Drag the corner handles or enter values manually.
  2. 2Toggle between uniform and per-corner modes.
  3. 3Copy the generated border-radius CSS.

How it works

The generator drives a live preview box (default a #3b82f6 200x200px square, resizable from 50 to 300px on each axis in 10px steps) and produces the corresponding `border-radius` declaration in real time. Each of the four corners (top-left, top-right, bottom-right, bottom-left) has its own slider, and a Linked/Unlinked toggle decides whether moving one slider sets all four to the same value or lets you tune them independently for asymmetric shapes. You pick the unit per project: `px` clamps the sliders to a 0-200 range, while `%` clamps them to 0-50, which matches the practical fact that 50% is the largest meaningful percentage radius (each corner radius is half the relevant side, so 50% on a square produces a full circle and on a rectangle an ellipse).

Rather than always emitting four explicit values, the tool collapses the output to the shortest valid CSS shorthand. When all four corners are equal it writes a single value (e.g. `border-radius: 12px;`); when top-left equals bottom-right and top-right equals bottom-left it writes two values; when only top-right equals bottom-left it writes three; otherwise it falls back to the full four-value form in the standard top-left, top-right, bottom-right, bottom-left order. The generated string is shown inside the preview box itself and again in a copy-ready `border-radius: ...;` code block. Note that the output is always single-value-per-corner: this tool does not produce the elliptical slash syntax (`horizontal / vertical`) and does not emit vendor prefixes, so each corner is a quarter-circle/quarter-ellipse, not a freehand curve.

Twelve one-click presets cover the common cases and each carries its own unit: None (0), Subtle (4px), Rounded (12px, the default), Pill (9999px, the large-value trick that fully rounds the short edges of a button), Circle (50%) and Blob (a lopsided 30%/70%/30%/70% in percent), plus directional presets (Top/Bottom/Left/Right Only at 20px) and the two diagonal presets (TL-BR and TR-BL at 40px) that round opposite corners. Applying a preset also re-derives the Linked state automatically, switching to Unlinked when the four corner values differ. The full configuration (corner values, unit, link state, box color, width, and height) is encoded into the URL via debounced query params (`r`, `u`, `l`, `c`, `w`, `h`, written 500ms after you stop adjusting and only for non-default values), and a Share button copies that link (or offers QR code / X / LinkedIn / email) so a specific shape can be reproduced or sent to a teammate.

Practical scenarios

  • Pill-shaped buttons

    Set a large uniform radius to create pill or capsule shapes for buttons and tags.

  • Organic blob shapes

    Combine asymmetric values to create organic, blob-like containers for creative layouts.

Frequently asked questions

What's the max useful border-radius?

Setting it to 50% on a square element creates a circle. Values above 50% have no additional visual effect.

Can I set different horizontal and vertical radii?

Yes. The CSS border-radius shorthand supports "/" syntax to set elliptical corners (e.g., 10px 20px / 30px 40px).

Related tools and how they differ

  • CSS Box Shadow Generator: Stacks one or more drop or inset shadows with blur and spread; use it to add depth or elevation, not to round corners.
  • CSS Button Generator: Designs a complete button including radius plus hover, padding, and color; use it when corners are one part of a full button, not the only goal.
  • CSS Gradient Generator: Produces multi-stop color fills; use it for the surface color of a shape, separate from how its corners are rounded.
  • Glassmorphism Generator: Adds blurred translucent glass styling; use it for a frosted card look, while radius here only controls corner curvature.
  • CSS Animation Generator: Animates properties via @keyframes; use it to morph radius or other values over time, not to set fixed corners.
  • CSS Clip Path Generator: Cuts elements into polygons like stars or hexagons; use it for non-rounded custom silhouettes that radius cannot make.

Private by design

This runs as client-side JavaScript. Keys, tokens, payloads, and other inputs never leave your device.