SVG Background Remover: Remove the Background from Any SVG

Detect the full-canvas background shape in your SVG and delete it to make the file transparent.

SVG Background Remover tool

1Add your SVG

Drop your SVG here, or click to browse Or paste SVG code anywhere on the page. Nothing is uploaded.
No file?

2Adjust the options

3Preview and download

Live preview
sample.svg
Input and output codeView, edit and copy the code
Input SVG code
Output

Under the hood

How SVG Background Remover works

An SVG background remover finds the full-canvas shape that acts as a background and deletes it, so the SVG becomes transparent.

  1. <svg viewBox="0 0 400 300"><rect width="400" height="300" fi…

    Mount and measure

    The SVG is placed off-screen so the browser can measure the real size of every shape.

    getBBox · viewBox
  2. Find background candidates

    A shape counts as a background if it is filled, sits near the top level and covers at least 85% of the canvas.

    Coverage ≥ 85%
  3. Choose what to remove

    The first candidate is selected by default. You can tick or untick each, and clear a background set in the root style attribute.

    Checkbox list
  4. Show before and after

    The before view sits on a backdrop color of your choice, and the after view sits on a transparency checkerboard.

    Backdrop · checkerboard
The four stages of the SVG Background Remover, from your input to the finished file.

How detection works

Measured, not guessed
Real bounding boxes are used, so rotated and transformed shapes are handled.
You stay in control
Every detected background is listed, and removal is optional per shape.
Root styles
A background set through style="background:…" on the svg tag is cleared too.

Step by step

SVG Background Remover process

Four steps remove an SVG background. The preview shows exactly what will go.

  1. Add your SVG

    Drop a file, paste code or press the sample button. The sample has a white rectangle behind a logo.

    Tip: The list of candidates appears.

    Drop SVG
  2. Review the candidates

    Each is shown with its tag, fill and coverage. Untick any you want to keep.

    Tip: The first is ticked by default.

    CandidatesRoot styleBackdrop
  3. Compare before and after

    Change the backdrop color to see the background clearly.

    Tip: The after view shows transparency.

  4. Download the transparent SVG

    Press Download to save it.

    Tip: Rendered locally.

    Download SVGsvg-background-remover.svg

Use the SVG Background Remover

Reference

SVG Background Remover settings / conversion chart

The table lists the kinds of background the tool handles. The chart shows how coverage decides a candidate.

Coverage needed for detection

Coverage needed for detectionSmall shape (20%): 0.2; Large shape (60%): 0.6; Detected (85%): 0.85; Full canvas (100%): 1.Small shape (20%)0.2Large shape (60%)0.6Detected (85%)0.85Full canvas (100%)1
A shape counts as a background only above the coverage threshold.

At a glance

  • Largest: Full canvas (100%).
  • Smallest: Small shape (20%).

A shape counts as a background only above the coverage threshold.

SVG Background Remover: what is detected
Background typeDetectedNote
Full-canvas rectYesThe most common case
Full-canvas pathYesCommon in exported files
Full-canvas circle or ellipseIf it covers 85%+Rare
style="background:…" on svgYesCleared with one switch
Gradient backgroundYes if it covers the canvasRemoved like a solid one
Backgrounds from external CSSNoNot inside the SVG

Answers

SVG Background Remover FAQ

Questions people ask about the SVG Background Remover, answered for this specific use case.

What counts as a background?

A filled shape near the top level that covers at least 85% of the canvas.

What if no background is found?

The SVG may already be transparent. You can also edit the code in the input box.

Can I keep part of the background?

Yes. Untick any candidate you want to keep.

Does it remove shapes that only look like a background?

Only the shapes you tick. Review the list before you download.

Will the logo itself be affected?

No. Only the checked background shapes are removed.

Ready to try it?

Your result is one drop away.

Open the SVG Background Remover

All converters

Every free converter and SVG tool

43 free tools that run in your browser. Pick a converter below, or search by format or task.