Flat / SVG hosting
SVG hosting: share vector graphics with a direct URL
Upload SVG artwork from your browser or the CLI. Share a scalable logo or diagram, with the original vector file available at its own URL.
Checking your upload limits... · Public · Limits
Drop your SVG files here
or choose them from your device.
Select SVG filesWhat people see at your SVG link
Flat displays SVG through an image element. Vector shapes stay sharp as readers zoom, while any raster images inside the SVG retain their own resolution.
The preview is an image view, not an SVG editor or an interactive application. Scripts inside an SVG do not run in this image context.
A single image opens in Flat's viewer. Several files open in the explorer. Public links need no Flat account, and original downloads stay available.
The exact path /product.svg serves the original image. Use the main link for the viewer, or the exact image URL when embedding a browser-compatible image on your website.
How to upload SVG files and get a URL
Prepare your images
Export a self-contained SVG from your drawing tool. Set its dimensions or
viewBox, and include any required image assets inside the file.For predictable text appearance, convert text to paths in your editor or use fonts available to your readers. Check the file as an image; an SVG that depends on external resources or scripts can behave differently from one opened in an editor.
Publish from your browser or terminal
In your browserDrop, publish, copy the link.
Drop your finished images into the uploader above, or choose them from your device. Enter your email if signed out, then choose "Publish images".
Each file needs a unique name. Selected files publish at the top level. Use the CLI for folders; the browser uploader does not accept folders or extract ZIPs.
TerminalNode.js 20+One command. Files or folders.
npx -y @getflat/cli deploy ./product.svgReplace the example path with your file, or pass a folder path to publish several images. The CLI preserves relative paths and prints the published URL.
Open and share the URL
Open the viewer and inspect shapes, labels, and scaling. If the SVG will be embedded, also check its exact URL in your website's image element.
Signed-out uploads expire after 1 hour by default. Sign in before expiry to keep them online, or sign in before publishing for no default expiry.
What you can share with SVG hosting
- Logos and icons
- Share scalable artwork for websites and design handoffs. Recipients can inspect the graphic before downloading its vector source.
- Technical diagrams
- Publish a system diagram or flowchart exported as SVG. Readers can zoom into labels and connections.
- Charts for documentation
- Use a chart's direct SVG URL in a web page. Keep an exported static graphic separate from any interactive chart application.
Keep a version, or keep an address.
Share this version
Every upload gets its own link. Publishing revised files creates a new link and leaves the earlier version unchanged. Use the version link when someone needs to review a specific upload.
Update files at one address
Use a named onflat.page address or your own domain. Sign in, then publish with the CLI using --domain. Publish revised files with the same domain to point that address to the new upload.
Named addresses are included on Free. Adding your own domain requires a paid plan. The browser uploader does not set up or repoint these addresses.
SVG hosting questions
Is hosting free, and what are the limits?
Yes. Signed-in Free includes 5 MiB per upload, 1 GiB of storage, and 5 GiB of monthly transfer, with no default expiry. The per-upload limit covers all files in that upload. Paid plans raise these limits.
Do readers need a Flat account?
No. Public links open without a Flat account. Anyone with the link can open the uploaded files. Password-protected links also require the visitor password.
Can I password-protect my upload?
Yes. Password protection is available on every plan. Add --password YOUR_PASSWORD to your CLI deploy command. It protects access to the upload and its files, but does not prevent someone with access from saving a copy. The browser uploader creates public uploads.
Can I replace files without changing the link?
A version link always refers to its original upload. For same-address updates, use a named address or your own domain. Publish revised files with the same --domain value in the CLI to point that address to the new upload.
What happens when an upload expires?
Flat stops serving it. An expired upload cannot be recovered. Signed-out uploads expire after 1 hour by default. For browser uploads, use the sign-in link shown after publishing. For CLI uploads, run npx -y @getflat/cli login. Complete sign-in before expiry to keep the upload online. If you chose a shorter expiry in the CLI, that deadline stays in place.
Does Flat rasterize my SVG?
No. Flat serves the original SVG. The browser renders its vector content in the image viewer; downloading returns the original file.
Can I embed a hosted SVG?
Use the exact file URL in an image element:
<img src="https://YOUR-ADDRESS.onflat.page/product.svg" alt="Studio color guide" />This displays the SVG as an image. Flat's generated viewer itself cannot be embedded in an iframe.
Why does my SVG look different from my editor?
Missing fonts, externally linked images, or script-dependent content can change the result. Export a self-contained image and check its browser rendering before sharing.
How large can an image preview be?
Flat's viewer accepts image files up to 5 MiB. The browser must also be able to decode the image. Paid plans allow larger uploads, but do not raise the viewer's preview limit. Original files remain available to open or download when a preview is unavailable.
Another image format?
Find the guide for your next image.
Share your SVG files.
Publish your finished images, check the result, and copy the link.
Publish imagesFree to start · View pricing
