thoughtasylumTOOLBOX Preview Guides Use offline Automate Feedback

Tools › Images

Vector Editor

Draw rectangles, ellipses, lines, polygons, freehand and pen curves and text on a page sized in pixels, millimetres or inches, then edit the points of any path and arrange the objects. Turn text into outlines, combine shapes (union, subtract, intersect, exclude), simplify paths and save SVG, PDF, PNG, JPEG or WebP. Open an SVG file to change it.

About this tool What it's for, how to use it and an example

What it's for

Draw and edit vector graphics: shapes, lines, curves and text that stay sharp at any size. You set the page in pixels, millimetres or inches, draw on it, and save the result as an SVG file, a PDF, or a PNG, JPEG or WebP picture. You can also open an existing SVG and change it, turn text into outlines, and combine or simplify shapes.

For example, when you want a simple logo, a sign for a cutting machine or an icon with its corners rounded, draw it here, turn its text into outlines so the machine needs no font, then save the SVG or PDF.

How to use it

Full page makes the editor fill the browser window (remembered next time); Full screen gives it the whole display.

Pick a tool and drag on the page. Select moves things (click, Shift-click to add, drag a box to select several), and its handles resize (Shift keeps proportions) and rotate. Rectangle, Ellipse and Line are dragged out; Polygon takes a click for each point, a double-click or Enter to finish, and a click on the first point to close it. Freehand smooths your stroke into curves. Pen takes a click for a corner and a drag for a smooth curve. Nodes edits the points and handles of a path (a rectangle, ellipse, line or polygon becomes a path first); double-click a line to add a point and press Delete to remove the selected one. Text places text you then type in the Text box.

The Look panel changes the fill, stroke, dashes, opacity, corner radius and font of whatever is selected. With nothing selected it sets the style of the next thing you draw. Arrange reorders, aligns, spaces, flips, groups, duplicates and deletes. The Objects list has a row for every object, with buttons to select, hide, lock, rename and reorder it; it is also the way to reach any object with the keyboard. Arrow keys nudge the selection by 1 (10 with Shift), and Ctrl or ⌘ with Z, Shift+Z, D, G, C and V undo, redo, duplicate, group, copy and paste. Hold Space, or use Pan, to move the page; Ctrl or ⌘ with the wheel zooms.

Combine and convert has four ways to combine two or more shapes: Union merges them, Subtract removes the shapes above from the bottom one (as Inkscape’s Difference does), Intersect keeps only where they all overlap, and Exclude keeps what an odd number of them cover. The result is one path with the bottom shape’s look. Simplify path gives a slider with a live preview that removes points from the selected paths; with Refit smooth curves on it turns what is left back into curves, keeping sharp corners. Text to outlines turns selected text into paths that keep the text’s fill, stroke and position, so no font is needed to print or cut it. It sets the text in the font you choose under Font for outlines and PDF: a TrueType, OpenType or WOFF file (not WOFF2) or, in Chrome and Edge, a font installed on the computer, picked from a list after the browser asks your permission. Size and letter spacing come from the font’s own widths and kerning. Bold and italic only apply if the file you choose is the bold or italic face.

Open an SVG file (or drop or paste one onto the page), Paste SVG code, or Place a picture to embed a picture in the drawing. Save SVG can tidy the file with SVGO first; Save PDF makes a page the size of the drawing with real vector shapes; Save picture writes a PNG, JPEG or WebP at the scale you choose; Copy SVG code copies the text. Image to SVG and SVG Preview & Export have an Edit in Vector Editor button that opens their SVG here. The drawing and your grid settings are kept in this browser.

Example

Under Paste SVG code, paste:

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="#0798F5"/></svg>

Choose Open it. A blue circle fills a 100 × 100 pixel page, and the Objects list shows Ellipse 1. Choose the Nodes tool to turn the circle into a path with four points you can drag.

Good to know

Opened SVG is cleaned first: scripts, event attributes, animation, embedded web content and links to other files are removed, and only embedded data: pictures are kept. Check an opened file before you rely on it. Shapes the editor knows (rectangles, ellipses, lines, polygons, paths, text, groups and pictures) are fully editable; anything else is kept and can be moved, resized, restyled or deleted as a whole. Gradients, filters and style sheets in an opened file are kept but not edited.

Combining turns curves into many short straight lines, and a group counts as one shape. The PDF draws text as outlines when a font is chosen and otherwise as Helvetica (so other fonts are replaced and characters outside Latin-1 may show as ?); it leaves out gradients, patterns, filters, clipping, masks and arrowheads, and draws pictures placed in the drawing. Text is real text until you outline it, so an SVG with text needs the font on the computer that opens it. Resizing one rotated object scales it along its own sides, but resizing several rotated objects together still skews them, and strokes scale with the object. Pictures placed in the drawing make the file, and the copy kept in your browser, larger, and a very large drawing may not be kept between visits. Open files should start their page at 0 0. Nothing is uploaded.

Guides: Fixing up a picture · Getting images ready for a website

Look

Arrange

Combine and convert

Objects

Nothing drawn yet. Pick a tool and drag on the page.

    Paste SVG code
    Font for outlines and PDF

    No font chosen.

    Save

    The drawing is kept in this browser between visits. JPEG has no transparency, so it always gets a white background.

    Built with The third-party code and data this tool uses, and their licences

    This tool runs on the following open-source work, copied onto this site and served from it:

    opentype.js 2.0.0
    Copyright
    Copyright (c) 2020 Frederik De Bleser
    Licence
    MIT License
    Source
    github.com/opentypejs/opentype.js
    Notes
    Its dist/opentype.min.js, unchanged, global opentype, loaded only when text is turned into outlines or saved as PDF with a font file. It reads TrueType, OpenType and WOFF fonts, not WOFF2.
    pdf-lib 1.17.1
    Copyright
    Copyright (c) 2019 Andrew Dillon; includes tslib, Copyright (c) Microsoft Corporation (0BSD)
    Licence
    MIT License
    Source
    github.com/Hopding/pdf-lib
    polygon-clipping 0.15.7
    Copyright
    Copyright (c) 2018 Mike Fogel; portions Copyright (c) 2016 Alexander Milevski
    Licence
    MIT License
    Source
    github.com/mfogel/polygon-clipping
    Notes
    Its dist/polygon-clipping.umd.min.js, unchanged, global polygonClipping, loaded only when shapes are combined. It includes splaytree 3.1.2 (MIT, Alexander Milevski).
    SVGO 4.1.0
    Copyright
    Copyright (c) Kir Belevich
    Licence
    MIT License
    Source
    github.com/svg/svgo

    Every page also uses Montserrat (SIL Open Font License 1.1).
    Everything the site uses is on Credits and licences.

    Private: this tool runs in your browser. Nothing you type, paste or choose leaves this page.

    Saved you a few minutes? Say thanks with a coffee.

    Something wrong with this tool, or missing from it? Report a bug or suggest a feature.

    ↑ ↓ move↵ openesc close