Skip to content
M2TOOLKIT

Hilbert Curve Generator

Draw a Hilbert space-filling curve of any order and download it as SVG.

Use it as often as you like — it's free, with no sign-up and no limits.

  • Design
  • Free
  • No sign-up
  • Runs in your browser
  • Updated

Everything you type is processed in your browser. Nothing you enter is sent to our servers or stored by us.

How to use the Hilbert Curve Generator

  1. Enter or paste your input in the box (or set the options, if the tool needs no input).
  2. Adjust the options to match what you need — the result updates as you type.
  3. Copy the result or download it, and keep editing if you want a different outcome.

What does this tool do?

The Hilbert curve visits every cell of a square grid exactly once while staying continuous. Each extra order doubles the grid size. Pick the order and colour and download a crisp SVG for posters, art or teaching.

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: order 3

Result: A curve through an 8 × 8 grid (64 points).

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 high can the order go?

Up to 8, which draws 65,536 points; higher orders would be slow without adding visible detail.

Is the Hilbert Curve Generator free to use?

Yes. It is free, needs no account and has no daily limit.

Last reviewed by the M2Toolkit team.

Other tools people use alongside the hilbert curve generator.