Crop SVG Online Free

Crop SVG graphics losslessly right in your browser with zero uploads. One-click auto-trim removes empty whitespace to tight vector bounds, or drag an exact viewBox crop and save SVG or PNG.

Crop SVGFree · runs in your browser

Drop an SVG to crop or trim whitespace

Auto-trims empty margins with tight path bounds or lets you drag an exact vector crop box.

Choose SVG file
Try an example:
  • Free, runs locally in your browser
  • One-click tight-bounds auto-trim
  • Interactive drag box and X/Y/W/H
  • Lossless viewBox SVG and PNG export

Crop SVG Examples Ready to Preview

Open any vector sample below in our SVG cropper to test one-click whitespace trimming, interactive frame handles, and exact viewBox readouts before dropping your own files.

Logo stuck inside a wide padded artboard

Logo stuck inside a wide padded artboard

Removes oversized invisible artboard margins around a centered brand wordmark so it aligns cleanly in navigation bars and headers.

UI icon with uneven surrounding whitespace

UI icon with uneven surrounding whitespace

Snaps the viewBox tightly around rendered glyph geometry, eliminating off-center padding that makes sidebar icons look misaligned.

Wide vector banner cropped to a badge

Wide vector banner cropped to a badge

Isolates a single emblem or focal mark from a wide horizontal illustration using drag handles and exact X, Y, W, H coordinates.

How to Crop SVG Online in Three Steps

Remove dead artboard margins or isolate one detail from a larger vector graphic locally without installing desktop editing suites.

  1. Drag an SVG or SVGZ file onto the workspace, or click Choose SVG file. Your browser renders the full vector immediately and displays its original viewBox dimensions.

  2. Click Auto-trim whitespace to snap the viewBox tightly around visible paths in one step, or drag the interactive frame, choose a crop aspect ratio, type exact X, Y, W, H values, and add optional padding.

  3. Inspect the updated output bounds, then click Download SVG for crisp vector markup, Copy SVG for instant HTML or CSS pasting, or Download PNG to export a clean transparent bitmap.

Why Use This Lossless Browser SVG Cropper

Built on real browser vector geometry measurement so every cropped SVG stays razor sharp, properly aligned, and lightweight.

  1. One-click auto-trim to exact rendered path bounds

    One-click auto-trim to exact rendered path bounds

    Exports from Illustrator, Figma, or slide apps often leave huge blank artboards around small artwork. Click Auto-trim whitespace to measure true geometry with getBBox() and trim SVG whitespace cleanly in a single click.

  2. Interactive drag crop box with aspect-ratio presets

    Interactive drag crop box with aspect-ratio presets

    When you want only one icon, emblem, or corner from a busy illustration, drag the frame handles right over the live vector preview. Pick Free framing or standard aspect ratios to capture square avatars, badges, or widescreen headers.

  3. Exact numeric X, Y, W, H coordinate controls

    Exact numeric X, Y, W, H coordinate controls

    Visual dragging is fast, while pixel-accurate alignment calls for numbers. Fine-tune crop origin (X, Y) and output width and height (W, H) directly to trim SVG viewBox frames down to exact design-grid specifications.

  4. Optional clean padding after tight trimming

    Optional clean padding after tight trimming

    Snapping tightly to outer paths is ideal for alignment, yet bold strokes or rounded caps often appreciate a sliver of breathing room. Combine Auto-trim with custom Padding so thick outlines never clip against the new border.

  5. True lossless viewBox crop with SVG and PNG export

    True lossless viewBox crop with SVG and PNG export

    Instead of flattening artwork into blurry pixels, this SVG cropper updates the vector's viewBox, width, and height cleanly. Download the crisp cropped .svg, copy inline code, or export a transparent PNG at the cropped framing.

  6. Strict browser-local privacy with zero server uploads

    Strict browser-local privacy with zero server uploads

    Client brand marks, CAD diagrams, and confidential UI assets stay strictly on your own device. Every bounding-box measurement, crop update, and file export happens locally inside tab memory.

Practical Guide to Trimming SVG Whitespace and ViewBox

Five practical techniques to trim SVG whitespace accurately without clipping strokes, shadows, or clean alignments.

Why exported SVG logos carry huge invisible margins

Designers frequently draw a 200 px brand mark in the center of a 1920 x 1080 or A4 artboard and export the whole page directly. When that SVG lands inside a website header or email signature, the invisible blank margins push surrounding buttons out of alignment and make the logo appear tiny. Running a quick pass to trim SVG whitespace recalculates the exact geometric bounds of every visible path so the file's outer box matches the real artwork.

Why exported SVG logos carry huge invisible margins

How lossless viewBox cropping preserves infinite vector clarity

Cropping a raster photograph discards pixels permanently, whereas cropping an SVG updates its coordinate window. When you trim SVG viewBox coordinates (min-x, min-y, width, height) alongside matching output dimensions, browsers display only your chosen crop region while keeping every Bezier curve, gradient, and crisp edge mathematically intact at any zoom level. Click Full viewBox anytime during your session to reset and reframe without reloading.

How lossless viewBox cropping preserves infinite vector clarity

Protect outer stroke widths and soft edges with slight padding

In SVG geometry, getBBox() measures the centerline of each path, not the extra half-stroke extending outward from thick borders or mitered corners. If a 4 px outline hugs the exact bounding edge, tight auto-trimming can shave a hair off that outer line. After you crop SVG bounds automatically, add 2 to 6 units of clean padding to give bold strokes, rounded caps, and subtle filters comfortable clearance.

Extract single icons or badges from wide vector sheets

Brand kits and icon grids sometimes ship multiple badges inside one wide horizontal SVG banner. Instead of ungrouping layers in a desktop vector editor, drag the crop frame over the single mark you need, select a 1:1 or Free aspect ratio, and refine X, Y, W, H numerically. That lets you crop SVG artwork into clean standalone avatars or header marks in seconds.

Extract single icons or badges from wide vector sheets

Finish cropped vectors for web, inspection, or vinyl cutting

Once empty borders are gone, scale your freshly trimmed logo to exact pixel or millimeter dimensions in SVG Resizer, strip residual editor comments with SVG Optimizer, or inspect embedded fonts and raw coordinates inside SVG Viewer. Preparing layered artwork for craft machines? Check cut layers cleanly in SVG for Cricut right after trimming stray margins.

Who Uses This Tool to Crop SVG Files

Everyday web, brand, and crafting workflows where tight vector framing eliminates broken layouts and wasted space.

  • Front-end developers fixing misaligned logos

    Strip uneven blank margins from client-supplied header logos and footer marks so CSS flexbox and grid alignment sit pixel-true immediately.

  • Designers cleaning exported icon libraries

    Quickly crop SVG files to remove accidental A4 or slide-sized artboards around exported icons before adding them to shared Figma or code repos.

  • Content editors and newsletter builders

    Extract a single focal emblem from a wide hero graphic, preview the tight frame, and download a crisp cropped SVG or transparent PNG for posts.

  • Vinyl crafters and laser makers

    Trim SVG whitespace before importing vector shapes into cutting software so mat placement and real-world dimensions match the actual cut paths.

Crop SVG FAQ

Direct answers about auto-trimming empty margins, viewBox cropping, stroke clearance, PNG export, and local browser privacy.

How do I automatically trim SVG whitespace around a logo?

Drop your SVG or SVGZ file into the studio and click Auto-trim whitespace. The tool calculates the tight bounding box of all visible vector elements via getBBox() and updates the viewBox instantly. If the artwork is already tight, it lets you know right away.


Does cropping an SVG reduce quality or rasterize my paths?

No. Saving as SVG keeps every curve, stroke, and gradient 100% vector. Updating the viewBox and dimensions simply frames the exact area you want without turning paths into pixels.


Can I manually crop SVG online to a specific shape or aspect ratio?

Yes. Drag any corner or edge handle directly over the interactive preview, pick Free or a preset crop ratio, or type exact numeric X, Y, W, and H coordinates for precise framing.


Why do thick outlines sometimes look slightly clipped after tight auto-trimming?

Browser path bounds measure the geometric spine of a path rather than half the stroke width extending outside it. Simply add a few units of Padding right inside the toolbar to give heavy strokes and rounded line caps clean room.


Can I undo my crop and return to the original full artboard?

Yes. Click Full viewBox at any time to restore the entire original SVG coordinate space immediately without re-selecting your file.


Can I export a transparent PNG from the cropped area as well?

Yes. Once your crop frame looks right, click Download SVG for lossless vector paths, Copy SVG for instant code pasting, or Download PNG to export a clean transparent bitmap matching your cropped viewBox.


Are my vector files uploaded to any external server when I crop SVG files here?

No. Geometry measurement, interactive viewBox cropping, SVG serialization, and PNG rendering all execute locally in your browser tab memory. Nothing leaves your computer or phone.


When should I trim SVG viewBox bounds versus scaling with SVG Resizer?

Start with Crop SVG whenever invisible empty margins surround your graphic or you need to isolate part of a larger drawing. Once the framing is tight, switch to SVG Resizer to set exact pixel or physical print dimensions.


Crop SVG Files Losslessly in Seconds

Drop any SVG or SVGZ file into this free SVG cropper to auto-trim empty whitespace, adjust exact viewBox bounds, and download clean SVG or PNG locally.

Choose SVG file