I have an SVG built up by adding several images on top of each other. It works fine but the edges do not line up and overlap in ways that I don't want. I basically want to "trim" the edges of my SVG to remove this.

I'm not currently familiar enough with either SVG or Inkscape to know how to crop something in the same way you would if you was cropping e.g. a JPEG.

I'd like to be able to simply delete everything outside the viewbox. How do I do this with Inkscape?

enter image description here

enter image description here

  • 1
    Do clipping masks exist in Inkscape?
    – Welz
    Dec 25, 2017 at 2:02

2 Answers 2


See the cartoon:

enter image description here

  1. An image, the leftmost and rightmost shapes have some exessive width, everything should be limited to the width of the black rectangle

  2. Duplicate the black rectangle or draw a new on top, stretch the height.

  3. Select all. Goto Object > Clip > Set. It's a clipping mask.

Beware:everything is still selectable and movable. If you move something, you create easily a difficult to fix mess. Be sure you have a non-clipped copy.

Another way: Fix the edge shapes with the node tool or by making path subtractions => you have not anything hidden.


Try the Inkscape extension inx-pathops by Moini.

If you make an object to "crop" or "clip" your vector art, i.e. you want to remove everything outside that object, select all objects, then do Extensions > Boolean Operations > Intersection

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.