> [Site index](https://perfectvector.com/llms.txt) — available pages and descriptions.

# Fit an Inkscape Page to a Selection Without Scaling

> Trim excess page space in Inkscape, keep the selected artwork at its original size, and check what happens to objects beyond the new page edge.

Source: https://perfectvector.com/blog/inkscape-resize-page-to-selection

Language: en
Author: Irene Kim
Published: 2026-11-23T08:00:00+09:00

Select the artwork with Inkscape’s **Selector** tool, then choose **Edit → Resize Page to Selection**. The page fits the selected bounds and the artwork keeps its size. In the one-page example below, clearing the selection and running the action fits the drawing. The [Inkscape action reference](https://inkscape.gitlab.io/inkscape/doxygen/actions-selection-object_8cpp_source.html) describes the resize command.

## Choose what the page should frame

The **page** is the rectangular area the finished file shows by default. Select the whole lockup, including any icon and lettering that should ship together. A decoration left outside the new page can disappear from a page export while staying editable in the SVG. The [Inkscape workspace guide](https://inkscape-manuals.readthedocs.io/en/latest/managing-workspace.html) shows how the page border relates to the drawing.

| Your goal                                       | What to do                                                                                          |
| ----------------------------------------------- | --------------------------------------------------------------------------------------------------- |
| Frame one object or group                       | Select it and resize the page to the selection.                                                     |
| Frame the drawing in the simple one-page sample | Clear the selection before running the same action.                                                 |
| Keep a margin for delivery                      | Adjust the page size in Document Properties after fitting it, then check the spacing on every side. |
| Export a tight PNG while keeping the SVG page   | Pick the drawing or selection as the export area.                                                   |

In a preview that scales the page to fit a box, the artwork can occupy more of the preview after you trim the surrounding space. Check the object’s width and height in Inkscape when you need to verify its dimensions. The [SVG 2 coordinate-system specification](https://www.w3.org/TR/SVG2/coords.html#ViewBoxAttribute) explains how a viewBox maps artwork to its viewport.

In a multi-page document, check which page is active. Inkscape can fit an active page to overlapping objects when the object selection is empty. [Inkscape PageManager source](https://inkscape.gitlab.io/inkscape/doxygen/page-manager_8cpp_source.html#l00662)

## Fit a test page around one badge

Save this as `badge.svg`, open it in Inkscape, and make a working copy. The teal badge is 92 × 52 px on a 240 × 140 px page. The orange circle sits elsewhere on that page.

```svg
<svg xmlns="http://www.w3.org/2000/svg" width="240" height="140"
     viewBox="0 0 240 140">
  <rect id="badge" x="64" y="42" width="92" height="52"
        rx="9" fill="#187367"/>
  <circle id="spare" cx="201" cy="107" r="14" fill="#e39542"/>
</svg>
```

1. Select the teal badge alone. Switch the size readout to px and check that the selection reads 92 × 52.
2. Run **Edit → Resize Page to Selection**. If your menu uses different wording, open **File → Document Properties** and look for the resize-to-content controls.
3. Save and reopen your copy. Select the badge again to verify its dimensions, then preview a page export.
4. For comparison, reopen a fresh copy of the original. Clear the selection, run the same action, and preview the larger page.

In Inkscape 1.4.4, fitting to the selected badge produced a 92 × 52 px page. The exported pixels matched a 92 × 52 px crop around the original badge exactly. The orange circle stayed in the saved SVG as an off-page object. With the selection cleared, the page fitted both shapes at 151 × 79 px.

![Three Inkscape page exports at the same scale showing the original page, the teal badge fitted tightly, and a larger page fitted around the badge and orange circle](https://perfectvector.com/blog/inkscape-resize-page-to-selection/workflow-proof.webp)

*The badge stays the same size in all three exports. The new page includes the circle only when the entire drawing is fitted.*

## Check the file you’re handing off

If the result still has too much space, check which objects are selected and whether the file has an oversized background object. If the page feels too tight, add margin, then preview a page export again. Inspect the saved SVG in the app that will receive it, especially if that app imports the drawing bounds.

For a one-off output, the [Inkscape CLI export guide](https://perfectvector.com/blog/inkscape-cli-export) shows how to choose an export area while preserving the master document. If a recipient needs the outside geometry removed from the file, follow the [permanent SVG crop guide](https://perfectvector.com/blog/permanent-crop-svg).

## FAQ

### Does fitting the page change the size of my artwork?

The operation reframes the page. In the test, the badge measured 92 × 52 px before and after. Compare the selected object dimensions when exact scale matters.

### What happens if I run the command with nothing selected?

In the one-page test, the action fitted the badge and circle together, so the page became 151 × 79 px. When working with multiple pages, check the active page before relying on an empty selection.

### Does the fitted SVG still contain objects outside the page?

It can. The circle remained in the SVG after the test page fitted the badge, even though it was outside the page export. Remove any unwanted objects from the handoff copy and reopen it to verify.

## Start with editable shapes when needed

PerfectVector can turn flat raster artwork into editable SVG paths. If your only source is a PNG or JPG and the logo itself needs editing, [trace it to SVG](https://perfectvector.com/image-to-vector), check the new shapes in Inkscape, then fit the page around the artwork you want to hand off.

## Sources

1. [Inkscape action source](https://inkscape.gitlab.io/inkscape/doxygen/actions-selection-object_8cpp_source.html) — Documents the resize action and its fallback to the drawing.
2. [Inkscape Beginners’ Guide, Managing the Workspace](https://inkscape-manuals.readthedocs.io/en/latest/managing-workspace.html) — Describes the page border and Document Properties.
3. [W3C SVG 2, viewBox](https://www.w3.org/TR/SVG2/coords.html#ViewBoxAttribute) — Defines how the SVG coordinate rectangle maps to its viewport.
4. [Inkscape PageManager source](https://inkscape.gitlab.io/inkscape/doxygen/page-manager_8cpp_source.html#l00662) — Documents how an active page can use its overlapping objects.

## Explore

- [Read the HTML article](https://perfectvector.com/blog/inkscape-resize-page-to-selection)
- [SVG clipPath vs Mask: Choose Hard Edges or Soft Fades](https://perfectvector.com/blog/svg-clippath-vs-mask.md)
- [SVG feImage: Fit, Crop, or Stretch a Filter Image](https://perfectvector.com/blog/svg-feimage-aspect-ratio.md)
- [Product facts](https://perfectvector.com/product-facts.md)
- [FAQ](https://perfectvector.com/faq.md)
- [Pricing and credits](https://perfectvector.com/pricing.md)
