SVG Files in Prisment: See the Picture, Convert It, and Let Your Local AI Change It
Open an SVG as a picture, convert it to PNG, JPG or WebP at up to 3×, copy it as an image or a Markdown link, and let your local AI change it — all on your device.
Prisment opens an SVG as the picture it draws, converts it to PNG, JPG or WebP at up to three times its size, copies it as an image or a Markdown link, and — in the desktop app — lets your local AI assistant change it when you ask. Everything happens on your device; the file is never uploaded. The picture at the top of this page is itself an SVG: zoom in and its edges stay sharp. The converter also has a page of its own: SVG to PNG.
1. What does Prisment do with an SVG?
An SVG opens as a picture, not as code: Prisment draws it and puts the tools to convert, copy and zoom it above it. A browser never runs the scripts an SVG file can carry when it draws one as an image, so a file someone sent you can be opened, looked at and converted without trusting it.

- Convert — one dialog: PNG, JPG or WebP at 1×, 2× or 3×, or at any size and quality, or framed square, portrait or landscape to post.
- Copy — the image, or a Markdown link relative to the document you last had open.
- Zoom and Background — fit, 100 %, steps, and a plain, checkerboard or dark ground to see a transparent edge.
Viewing, converting and copying work in the browser and in the desktop app; changing the picture by asking is the desktop app's, through the local assistant.
2. How do you convert an SVG to PNG, JPG or WebP?
Press Convert in the toolbar above the picture and pick a format: Prisment draws the copy at that size with your browser's own canvas and saves it beside the original.
- Open the SVG. Drop the
.svgonto prisment.io/svg-to-png, or open the folder that holds it. - Press Convert. One dialog shows the picture beside its options, with the size and name of the file it will make.
- Pick a format and size. PNG 2× suits a high-density screen; JPG is the smallest, on a white ground, because JPG has no transparency; WebP keeps transparency and stays small.
- Find the copy beside the original, such as
components@2x.png. Nothing is overwritten: a second PNG 2× becomescomponents@2x-2.png. With no folder to write into, the copy downloads.
An SVG converts sharply at any size, because it is drawn at the target size rather than stretched from a small bitmap.
3. How do you use an SVG in a Markdown document?
Write a Markdown image line pointing at the file — or press Copy Markdown link — and the rendered document draws the SVG from the file itself. The path is relative to the document, so  in overview.md finds the diagram in the diagrams folder beside it, and a change to the diagram shows in every document that links it.

4. How does the local AI change an SVG without breaking it?
You say what should be different; the app finds the box by its label and checks every change before it is written, so an edit that would break the picture or touch the wrong box is never applied. There is no SVG source editor on purpose: a diagram of a few boxes can run to hundreds of lines of coordinates, and what a reader wants is the picture.

- The model is shown the labels, not the markup —
Gateway · line 18— so a diagram larger than a small model's window still fits. - Some changes need no model at all. Make the border of the Gateway box red and rename the Gateway box to Load balancer are carried out by the app itself.
- You see pictures, not a diff: the change card shows the region before and after, with Undo.

What to expect from each model. This is a description, not a score: on our own files we are the judge, so we do not grade ourselves.
| When you ask… | Llama 3.2 3B — small | Qwen2.5-Coder 14B — larger, recommended |
|---|---|---|
| To rename a box, or set a named box's border or fill | The app does it — no model needed | The app does it — no model needed |
| For another change, in a neatly laid-out file | Usually lands it | Lands it |
| For another change, in a file squeezed onto one line | Often declines rather than guess — a wrong change is refused, never written | Lands it |
5. What if an SVG does not draw?
Prisment tells you why, and on which line, instead of showing a blank space. A file that is not well-formed XML cannot be drawn by any browser; the common faults — a bare &, a tag never closed, something after the closing </svg> — each have a sentence of their own, in English or French.

6. What stays private?
The SVG and every copy made from it stay on your device: converting is your browser's own canvas drawing the file, and no converter server exists to send it to. In the desktop app the assistant's model runs on your computer too, and the app refuses any connection to it that would leave the machine (how that works). These promises concern your files; the website uses analytics, which the privacy policy explains. The image tools are listed beside every other format in the guide: Other file types.
Drop an SVG on the SVG to PNG page, or download the desktop app to change one by asking. Both are free, with no account.
Frequently asked questions
How do I convert an SVG to PNG without uploading it?
Open the SVG in Prisment — in the browser at prisment.io or in the free desktop app — press Convert in the picture’s toolbar and choose PNG, PNG 2× or PNG 3×, or JPG or WebP. Your browser’s own canvas draws the file at that size, so it never leaves your device. In a mounted folder the PNG is saved beside the SVG under a new name; otherwise it downloads.
Can I edit an SVG in Prisment?
Not by hand: Prisment opens an SVG as a picture, with tools to convert, copy and zoom it, and has no XML editor. To change one, ask the local AI assistant in the Prisment desktop app — for example “make the border of the Gateway box red” — and it shows the picture before and after, with Undo.
Can a local AI model edit an SVG without breaking it?
In Prisment, the assistant is shown an SVG as its labels with their line numbers, and every change is checked before it is written: an edit that would stop the picture drawing, or that touches a box you did not name, is retried or refused, never applied. A request that names one box, a part (border or fill) and a colour, or an exact label to rename, is carried out by the app itself without asking the model.
Is it safe to open an SVG someone sent me in Prisment?
Prisment draws an SVG as an image, and a browser never runs the scripts an SVG file can contain when it draws it as an image. The file stays on your device: opening, zooming and converting it involve no upload.
Why does my SVG not show in Prisment?
Because the file is not well-formed, and Prisment says where — for example “line 6: Everything must sit inside the one <svg> element, which closed on line 5.” Fix that line, ask the local assistant in the desktop app to fix it, or open the file in another app.
Can I show an SVG inside a Markdown document?
Yes. A Markdown image line such as  draws the SVG in the rendered document, relative to the document’s own folder, and Copy Markdown link in the picture’s toolbar writes that line for you.