# memononen/nanosvg

Simple stupid SVG parser

Repository: https://github.com/memononen/nanosvg
Canonical: https://ross.abutalabs.com/products/nanosvg
Language: C
License: Zlib
License Family: permissive
Last push: 2026-07-09T21:07:20+00:00

## Health v2 (maintenance only)
Score: 73/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 91, release rhythm 35, longevity 100
- inputs: {"age_days": 4715, "days_push": 55, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2018, forks 415 (observed 2026-08-28T04:06:06.038729+00:00)

## What it is
NanoSVG is a simple single-header C library that parses SVG files into a list of cubic bezier shapes, with an accompanying lightweight rasterizer for rendering flat filled shapes. It is suited for tasks like rendering scalable icons or feeding path data to other tools.

## Use cases
- parse svg files in c
- render scalable icons in an editor application
- convert svg paths to bezier shapes
- bake icons of different sizes into a texture
- extract svg path data for cnc cutting
- prototype vector graphics in a game

## When to choose
- you need a tiny dependency-free SVG parser in C or C++
- you want to rasterize simple SVG icons into textures
- you need path geometry output rather than a full SVG renderer

## When to avoid
- you need full SVG spec compliance including filters, gradients, or text
- you need a fast, accurate rasterizer for complex artwork
- you need an actively maintained project with bug fix guarantees

## Facets
- artifact type: library
- maturity: maintenance
- function: parser, image-processing, graphics
- domain: graphics, files, developer-tools
- platform: cross-platform, cpp, c
- tags: svg, single-header, rasterizer, vector-graphics, c

## Member repositories
- memononen/nanosvg (main) score 73

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:06.038729+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:00:28.236250+00:00, confidence not recorded.
  - readme: https://github.com/memononen/nanosvg (fetched 2026-08-28T04:06:06.038729+00:00, sha 6307084bc232)
- Data as of 2026-08-30T08:39:29.467469+00:00.
