---
title: "Convert SVG to PNG"
description: "On MacOS, install inkscape (with brew) and use it like this:"
canonical: https://oozou.com/til/convert-svg-to-png-79
locale: en
date: 2020-11-07
topic: macos
---

# Convert SVG to PNG

> On MacOS, install inkscape (with brew) and use it like this:

Published: 2020-11-07 · Topic: [macos](https://oozou.com/til-topics/macos) ([markdown](https://oozou.com/til-topics/macos.md))

On MacOS, install **inkscape** (with brew) and use it like this:

```shell
$ inkscape --export-type=png --export-dpi=200 --export-background-opacity=0 file.svg
```

This will create a file.png with transparent background.

---

Contact OOZOU: hello@oozou.com · +66 2544 0000 · https://oozou.com/contact

More for AI agents: https://oozou.com/llms.txt · every page has a markdown twin at its URL plus ".md"
