SVG Boolean Workbench

SVG Boolean Workbench

Enter SVG path d only. Curves become line segments; arcs, open paths and self-crossings are rejected. Areas are SVG coordinate units squared, not geographic or pixel area.

1. Enter two closed paths

Each field may contain multiple M…Z subpaths. An inner contour becomes an even-odd hole. Paste d data, not an SVG tag.

0.001–5 coordinate units. Smaller values add vertices to curves; straight edges are unchanged.

Comments & questions

SVG Boolean Workbench

Paste two SVG path d values to compute their union, shared fill, or A minus B. Curves are flattened at your chosen tolerance before the browser runs planar polygon clipping. Compare the resulting compound SVG path with its area, separate parts, and holes.

Key features

  • Absolute and relative M/L/H/V/C/S/Q/T/Z commands and multiple closed subpaths
  • Even-odd nesting for holes and islands within holes
  • Union, intersection and A−B with planar canvas-unit areas
  • Explicit zero-area tangent result and rejection of self-crossing or touching internal rings
  • Copy path d and export a standalone SVG

How to use

  1. Paste a closed SVG path d in each shape field or load an example.
  2. Choose union, intersection or A−B and set the curve-flattening tolerance.
  3. Run the operation and inspect A, B, the result, area and hole count.
  4. Copy the output path or download an SVG and review it in your artwork.

Use cases

  • Merge overlapping icon shapes into one fill
  • Cut stencil holes while preserving nested islands
  • Understand why a boundary-only tangent has no filled intersection

Frequently asked questions

Why is intersection empty when two paths touch?

Only filled regions with positive area are emitted. Contact along a line or at one point has zero area, so the tool explicitly reports an empty path.

How do I enter a path with a hole?

Put the outer closed subpath and an inner closed subpath in the same field, each starting with M and ending with Z. Even-odd nesting creates holes and islands. Internal rings that touch or cross are rejected.

Can I use self-intersecting paths?

No. Self-crossings, retraced edges, and zero-area contours fail validation before clipping. Simplify the outline first in the SVG path editor.

Are Bézier curves and arcs preserved?

C/S/Q/T curves are flattened to line segments at the chosen tolerance. The output is a straight-line path. A/a arc commands are explicitly unsupported.

Can I paste an entire SVG file?

No. Paste only the d attribute from a path element. Arbitrary SVG markup, transform matrices, masks and stroke expansion are outside this tool.

Privacy

Paths and results are processed in this browser tab. Export uses a local browser download.

References

Related Tools

SVG Path EditorVector Morph EditorPolygon Overlay LabImage Super ResolutionHDR Exposure MergerPhoto Colorization LabPanorama StitcherSheet Nesting PlannerEdit Decision WorkbenchTeleprompter StudioBilingual Video Study PlayerChord Progression LabMusic Score EditorSubtitle WorkbenchSpatial Audio DesignerMusic Chord Candidate AnalyzerMIDI Piano Roll EditorSample Instrument BuilderImpulse Response LabAudio Waveform EditorDTMF Signal LabSpectrogram Sound PainterAudio Spectrum AnalyzerAudio DenoiserAudio Source SeparatorSound Effect SynthesizerMultitrack Audio MixerAudio Transient SlicerAudio Loop Seam FinderAudio Loudness AuditorAudio Pitch Tempo StudioStereo Anaglyph MakerPhoto Mosaic MakerImage Frequency SpectrumSimilar Photo FinderLenticular InterlacerPBR Texture Map LabPanorama Tour BuilderImage Calibration TargetsImage Steganography LabDocument Perspective CorrectorImage Inpainting StudioKnitting Chart EditorSeamless Pattern MakerScreenprint Separation StudioQuilt Layout PlannerPerspective Mockup StudioLow Poly Mesh MakerFont Subset BuilderFocus Stacking LabImage Depth EstimatorCross Stitch Chart MakerAnimation Timeline EditorPixel Paint StudioImage Difference HeatmapImage Quality LabID photo makerBarcode scannerVideo to GIFVideo Chroma KeyerVideo StabilizerVideo Reframe StudioStop Motion StudioVideo Timecode ConformerVideo Quality ComparatorHLS and DASH Manifest ValidatorVideo Speed Ramp EditorVideo Container InspectorVideo Storyboard MakerVideo Privacy MaskerRotoscope Mask EditorVideo Motion TrackerVideo Frame InterpolatorAudio Description EditorVideo Audio Sync LabVideo TrimmerGIF Frame ExtractorSVG to PNG / JPEGImage to SVG VectorPixel Art ConverterCircle Profile CropPhoto and Polaroid FrameRound Image CornersJPEG EXIF Viewer and RemoverImage Color Vision SimulatorImage to ASCII ArtPhoto CollageInstagram 9-Tile SplitterLong Image SplitterImage CropRotate and Flip ImagesImage FiltersMeme GeneratorScreenshot BeautifierBarcode GeneratorQR Code GeneratorImage CompressorImage ResizeImage ConverterFavicon GeneratorYouTube Thumbnail ExtractorHEIC to JPGSignature & Stamp MakerImage WatermarkGIF MakerImage Color PickerImage to Text (OCR)Merge ImagesPhoto Blur & MosaicQR Code ScannerMP4 to MP3 ConverterVideo CompressorBackground Remover
Explore all Image/Media tools →Text/Convert →Life/Fun →Dev Tools →