How to use the Sierpinski Triangle Generator
- Enter or paste your input in the box (or set the options, if the tool needs no input).
- Adjust the options to match what you need — the result updates as you type.
- Copy the result or download it, and keep editing if you want a different outcome.
What does this tool do?
Start with a triangle, remove the middle, repeat inside each remaining triangle. At depth 8 there are 6,561 tiny triangles. Choose the depth and colour, then download the vector SVG.
Everything runs in your browser, so nothing you enter is uploaded or stored.
Why use it?
- Free, with no sign-up and no limits.
- Instant results as you type.
- Private — your data stays on your device.
Example
Input: depth 4
Result: 81 small triangles.
Privacy
Everything you type is processed in your browser. Nothing you enter is sent to our servers or stored by us. There's no account to create and nothing to install.
Frequently asked questions
How many triangles does it contain?
3 to the power of the depth: 27 at depth 3, 243 at depth 5.
Is the Sierpinski Triangle Generator free to use?
Yes. It is free, needs no account and has no daily limit.
Last reviewed by the M2Toolkit team.