ChatGPT can write SVG code, but it cannot turn the images it generates into vectors. Here is what each route actually produces, and how to tell a real vector from a PNG in disguise.

Yes, ChatGPT can make SVG files, but not in the way most people mean when they ask. It can write SVG code, and it cannot turn the images it generates into vectors. Those are two different capabilities, and mixing them up is why so many people end up with a file ending in .svg that behaves like a PNG the moment they open it in Figma.
Here's what ChatGPT actually produces, where the output holds up, and how to tell whether the vector you're holding is real.
ChatGPT writes SVG markup as text. Ask it for a checkmark icon and it will output <svg> tags with real path data you can paste into a file, and that file is a genuine vector.
ChatGPT's image generator does not do this. GPT Image 2, the model behind image generation in ChatGPT, renders raster output at fixed pixel dimensions. There is no SVG export button, no vector download, and no setting that changes this. Native image-to-SVG reconstruction was still an open feature request on OpenAI's community forum in July 2026, with a staff member saying they would pass it to the engineering team.
So the split is clean. Code path: real vectors, limited complexity. Image path: beautiful raster, no vectors at all.
One route sits outside that split: with the Recraft plugin installed, you mention @Recraft and get a real SVG file from Recraft's vector models without leaving ChatGPT.
This is the reliable route. ChatGPT has read a great deal of SVG, so it knows the syntax: viewBox, path with its d attribute, stroke-linecap, fill-rule. Ask for a 24x24 icon with a 2px stroke and it will give you well-formed markup that renders.
You copy the code, save it as icon.svg, and you have an editable vector with selectable paths.
When you ask ChatGPT to "design a logo" and it produces a picture, you are getting a PNG or WebP. The image may look like a vector: flat colors, clean shapes, hard edges, no gradients. It is not one. There are no paths inside it, only pixels arranged to resemble paths.
This is the single most common misunderstanding in the whole topic. Vector style and vector format are unrelated.
Ask for a downloadable file and ChatGPT can run Python to write one and give you a link. Sometimes that file contains real path data. Sometimes it contains your raster image encoded in base64 and wrapped in <svg> tags, which is a PNG wearing a costume. It has the right extension, opens without error, and is completely uneditable.
Print shops and embroiderers reject these constantly. The file passes a filename check and fails everything after it.
Simple geometric icons. Circles, arrows, checkmarks, chevrons, basic UI glyphs on a 24x24 grid. Anything you could describe precisely in a sentence, ChatGPT can usually draw in code.
Editing SVG you already have. This is where it is genuinely strong. Paste in existing markup and ask it to change every fill to one hex value, add a 2px stroke, or normalize the viewBox. It handles find-and-replace logic across messy markup faster than you will by hand.
Explaining and cleaning path syntax. Paste a path string and ask what each command does. Ask it to round coordinates to two decimals or strip redundant points. It is a competent SVG editor even when it is a poor SVG artist.
It cannot see what it draws. ChatGPT writes path coordinates without rendering them. It has no feedback loop, no way to look at the result and notice that the arrow is pointing the wrong way or the two halves of the logo do not meet. You become the render engine, which means iterating blind through several rounds.
Complex illustrations collapse. Anything with more than a handful of shapes, overlapping layers, or precise spatial relationships tends to come back visually broken even when the code is valid. A mascot, a detailed icon set, a layered illustration: expect misaligned elements and shapes that overlap wrong.
Consistency across a set is not achievable. Ask for eight icons in the same style and you will get eight different stroke weights, optical sizes, and corner radii. There is no style memory holding them together, so a cohesive icon set means normalizing every file by hand afterward.
Path data gets bloated. Even when the output looks right, the underlying geometry is often inefficient: more anchor points than the shape needs, at coordinates no designer would choose. Fine for a one-off. Painful when you need to edit curves later.
Three checks, in order of speed:
Run check one first. It takes five seconds and catches almost everything.
Constrain the output. Vague prompts produce vague geometry.
There is a third route that keeps you in ChatGPT. Recraft is available in the ChatGPT plugin directory, and the Recraft plugin for ChatGPT connects the chat to Recraft V4.1 and its vector models. Recraft creates the SVG, and ChatGPT gives you the file.
What comes back is a downloadable SVG from one of Recraft's vector models, not markup ChatGPT wrote. Run the text-editor check above on it anyway.
The plugin works on ChatGPT's free plan. Each request spends credits from your Recraft plan, and vector generation is included on every Recraft plan, including Free. On Recraft's Free plan, images are public and not licensed for commercial use, so client work needs a paid plan.
One limit: files made through the plugin do not appear in Recraft Studio. ChatGPT shows a preview and a link to the original SVG, so download it from the chat.
Our guide to using Recraft in ChatGPT has screenshots of each step, more requests to try, and fixes for common problems.
If your job is a logo, an icon set, a brand illustration, or anything headed for print or a design handoff, code-written SVG is not the tool. You need a model that generates vectors directly.
Recraft's AI vector generator runs on Recraft V4.1, which produces SVG as its native output rather than rendering pixels and tracing them afterward. The paths come out clean, the colors are separable, and the file opens in Figma or Illustrator with editable geometry. A free account includes a limited number of credits that reset daily, and vector generation with SVG download is included on every plan, which is enough to test whether the output survives your own workflow.
If what you already have is a raster, that is a conversion problem rather than a generation problem. The image vectorizer traces PNG or JPG into real paths, and works best on clean source images with defined edges and distinct colors. Highly textured or photographic sources produce extra detail you will need to clean up. Recraft's vector editor then lets you pull anchor points and recolor individual shapes without leaving Recraft Studio.
The full step-by-step for that conversion is in our guide on how to vectorize a file.
None of this removes your judgment from the process. It removes the part where you retype coordinates and hope.
| You need | ChatGPT (SVG code) | Image vectorizer | AI vector generator | Illustrator or Figma |
|---|---|---|---|---|
| A simple UI icon, fast | Works well | Not needed | Works well | Slow for one icon |
| A logo for print | No | Only from a clean source | Yes | Yes |
| An icon set in one style | No | No | Yes | Yes |
| Editing SVG you already have | Strong | No | Recolor and simplify | Full control |
| Converting an existing PNG | No | Yes | No | Manual tracing |
| Learning how SVG works | Strong | No | No | Indirect |
| A new SVG without leaving ChatGPT | Simple icons only | Not needed | Yes, with the Recraft plugin | No |
The gap between vector style and vector format is closing, but it has not closed yet. Until it does, check the file before you trust the extension.
It can write SVG code that you save as a file, and that file is a real vector. It cannot export the images from its image generator as SVG, because those are raster output.
The file almost certainly contains an embedded raster rather than path data. Open it in a text editor and check for shape elements: <path>, <circle>, <polygon>, <rect>. If there are none and you only find an <image> tag holding a long base64 blob, the file is a PNG in an SVG wrapper.
Not reliably. It has no dedicated tracing engine, and asking it to convert often returns your original raster wrapped in SVG tags. Use a purpose-built vectorizer instead.
For exploring ideas, yes. For the final asset, no. Logos need clean editable paths, consistent geometry, and print-ready output, and code-written SVG rarely delivers all three.
Use a model that generates vectors natively rather than one that renders pixels. That keeps the paths editable from the first output instead of reconstructing them after the fact.