There are two main ways to resize the canvas in Inkscape: resize to fit all content or resize to fit a specific selection. If you want the fastest method, you can use the shortcut that resizes the page to fit the selected content when an object is selected. This ensures the content is neatly bounded and helps when saving SVG files, as objects outside the document page may still be visible in the file.
Fastest method: fit to content with a selection
If you have an object selected, the page will resize to fit the selected content. This is particularly useful when you’ve just drawn something and want the canvas to match precisely the drawn area. The button “Resize page to drawing or selection” may apply even if nothing is selected in some versions, but selecting the objects first guarantees the fit to content behavior.
Manual method: resize via Document Properties
To change the canvas size in Inkscape, open the Document Properties menu. You can access it by pressing Control + Shift + D or by navigating to File > Document Properties. Under the Page tab, you’ll find “Custom Size” where you can manually type width and height, and you can change the default units of measurement.
In the Document Properties panel, you can resize the canvas to predetermined numerical inputs or fit it to the content. The default behavior is to resize the canvas to the size of the selected object and place the canvas around it.
After defining your canvas size, close the Document Properties menu and save your work. This completes the process of changing the canvas size in Inkscape. If anything remains unclear, you can leave a comment or seek additional guidance.
Two primary goals when adjusting the canvas
- Resize the canvas to fit all content without a selection to show the entire drawing.
- Resize the canvas to fit a chosen subset of objects to control whitespace and composition.
When you resize to fit content, you may choose to include an empty margin between the drawing and the new canvas. Some users also note that in newer versions you might be able to resize to the drawing or selection without selecting all objects.
Practical tips for precise resizing
Ensure everything you want on the final canvas is within the page border. If there are objects outside the page border, you may either include them by resizing larger or move them to a hidden layer for easier selection. For accurate selection, you can use Ctrl + A (Select All) to gather all visible pieces, or drag a selection box around the items you want to include.
Be mindful of settings that affect how objects scale when resizing. On the Selection tool control bar, there are options such as “When scaling objects, scale stroke width by the same proportion” and “Move gradients along with objects.” If you want sizes to stay consistent, consider adjusting these toggles accordingly before resizing to content. The first two options typically prevent unwanted changes in stroke width and corner radii when you resize.
There are two common methods to scale content before resizing the canvas: using the Selection tool with corner handles (holding Ctrl to keep proportions) or using Object > Transform > Scale. If you want a specific canvas size, you can use the H and W values on the Selection tool control bar and unlock proportional scaling by clicking the padlock icon between them.
Once you’ve scaled the content as desired, you can finalize the canvas size by selecting all and then using Document Properties to resize to content. In some versions, you may not need to select all if everything visible is intended to be the final drawing-the “Resize page to drawing or selection” option will apply accordingly.
Notes on invisible canvases and exporting
Inkscape’s canvas is transparent by default. If you don’t want the page border visible, you can hide it in Document Properties > Page tab. Hiding the border may not eliminate all issues, since some viewers or websites only show content inside the page border.
For exporting to PNG via File > Export Bitmap, you don’t need to worry about the page size as long as the page border isn’t visible; the image will export based on the drawing area.
When saving to PDF or EPS, the bounding box behavior may differ from SVG. Some guidance suggests bounding boxes around content or applying “Fit Page to Selection” to crop the canvas tightly before exporting to PDF or EPS.
If you want to tighten the canvas around a single object, you can use Fit Page to Selection in Document Properties and then export. This ensures the final document’s canvas closely hugs your artwork.
Extra considerations and common questions
If you’ve left parts of the drawing outside the page during editing, you may need to resize the canvas to fit everything or move those parts into a hidden layer before resizing. Some users report that when resizing to content, objects can shift if scaling has been done with certain settings enabled.
For larger projects, you can plan canvas changes by positioning guides and then adjusting canvas size to fit those guides or your final layout. Position a guide roughly, then double-click it to enter precise coordinates and align your final elements accordingly.

How to Resize the Page in Inkscape | How to Set Canvas Size | Inkscape tutorial for beginners
In summary, you can achieve a perfect canvas size by either letting Inkscape auto-fit to the content (with a selection) or manually setting the size in Document Properties. The choice depends on whether you want the canvas to tightly bound all artwork or to reflect a specific arrangement of selected elements.
- Open Document Properties (Control + Shift + D or File > Document Properties).
- Choose Page tab and select Custom Size or Resize page to content.
- If needed, select all objects or the desired subset to influence the fit.
- Close the panel and save your document. Consider exporting with the canvas appropriately bounded for PDFs or images.