FreeNo sign-upNothing uploadedPNG download

Pie Chart Generator from Text

List your labels and values as text — get a pie chart instantly. Paste Mermaid pie code — or start from the time-split example — and this free online pie chart generator renders it in your browser, ready to download as a crisp PNG. No sign-up, and nothing you paste leaves your device.

Rendering your pie chart…

The demo above is live — edit the code and hit Generate. The example that loads with the page is free; each Generate click uses one of your 10 free generations per day.

How it works

From labels and values written as text to a pie chart in four steps.

1

List your slices

What makes up the whole — hours, spend, votes — with a label and a number for each part.

2

Turn it into Mermaid code

Write one line per slice, like “Meetings” : 15 — or let ChatGPT or Claude write the code for you.

3

Pick “Mermaid diagram” and hit Generate

The visual type is pre-selected on this page. Your pie chart is drawn instantly in your browser — nothing is uploaded.

4

Download PNG

One click, no watermark — ready for reports, wikis or slides.

What goes into a pie chart

Three building blocks describe any pie chart — and all three are just text.

Slice

Slices

One line per slice — “Writing code” : 45 — with the label in quotes and the value after the colon. Values can be any numbers; they are scaled to percentages for you.

Title

Title

A single title line names the whole — what the slices sum up to, like a week of developer time.

Data

Data labels

Adding showData to the first line prints each slice's value in the legend, next to its percentage.

From text to pie chart, the AI-friendly way

You never have to write Mermaid by hand: give your numbers to ChatGPT or Claude and paste what it returns here — no sign-up, and everything renders locally on your device.

Step 1

Give AI your numbers

Tell ChatGPT or Claude your labels and values — “time split: writing code 45, review 12, meetings 15, debugging 18, docs 10” — and ask for Mermaid pie code.

Step 2

Paste the code here

Copy the pie code it returns and drop it into the box above, skipping the fence lines around the code block.

Step 3

Generate, download PNG

Hit Generate: the chart draws instantly in your browser and exports as a crisp, watermark-free PNG for reports and slides.

Private by design: your numbers never leave your browser

Charts often carry internal figures. Text2Viz renders them locally, so nothing is uploaded.

Privacy

No sign-up, no account

There is nothing to create and nothing to log into. Open the page and start charting.

Privacy

Rendered locally

Your chart is drawn by JavaScript running on your own device. Your numbers are never sent to our servers.

Privacy

Safe for internal data

Budget splits, server load, revenue mix — render them here without a second thought.

What people make with it

Three common ways people use this free pie chart generator.

Use case

Share a time or budget split

Show where the week, the quarter or the budget actually goes — one glance, no spreadsheet.

Use case

Summarize survey or log data

Turn counts per category into a share-of-total picture for reports and reviews.

Use case

From AI chat to image

ChatGPT or Claude turned your table into pie code? Paste it here and export a shareable PNG.

Frequently asked questions

Is this pie chart generator free?
Yes. You get 10 free chart renders per day, every day, with PNG download and no watermark. No account, no trial that expires.
How do I turn text into a pie chart?
Write your chart as Mermaid pie syntax: start the first line with pie (or pie showData to display values), add a title line, then one slice per line — "Writing code" : 45 — with the label in quotes and the value after a colon. Hit Generate and the pie chart draws instantly, no sign-up.
What does showData do in a Mermaid pie chart?
Adding showData to the first line (pie showData) prints each slice's value next to its legend entry. Leave it off and the legend shows labels and percentages only.
Pie chart or bar chart — which should I use?
Use a pie chart when you are showing parts of one whole — a handful of slices that add up to 100%, like a time or budget split. Use a bar chart when you are comparing many values, or the numbers don't sum to a whole — the site's bar chart maker takes the same paste-and-generate approach.
Can AI write the pie code for me?
Yes. Give ChatGPT or Claude your labels and numbers and ask for Mermaid pie code — paste the code block here (skip the fence lines) and render it into a chart.
Can I download the pie chart as a PNG?
Yes. Every chart has a Download PNG button — free, no watermark, exported at double resolution so slice labels and the legend stay readable in docs and slides.

More text-to-diagram tools

The same paste-and-generate flow, tuned for other visual types.

Diagram maker

Flowchart Maker

Process steps and decision branches from Mermaid flowchart syntax.

Diagram maker

ER Diagram Maker

Entity relationship diagrams for database schemas from Mermaid erDiagram syntax.

Diagram maker

State Diagram Generator

State machine diagrams for lifecycles from Mermaid stateDiagram-v2 syntax.

Diagram maker

Class Diagram Generator

UML class diagrams for domain models from Mermaid classDiagram syntax.

Diagram maker

User Journey Map Generator

Map customer journey steps, satisfaction scores and actors from Mermaid journey syntax.

Diagram maker

Quadrant Chart Generator

Plot options on a 2x2 matrix with Mermaid quadrantChart syntax.

Diagram maker

Git Graph Generator

Visualize commits, branches and merges with Mermaid gitGraph syntax.

Diagram maker

Sankey Diagram Maker

Show how budget, energy or users flow between stages with Mermaid sankey-beta code.

Diagram maker

Block Diagram Maker

Lay out system components in a grid of blocks and arrows from Mermaid block-beta code.

Diagram maker

Requirement Diagram Maker

Map requirements, elements and satisfies links from Mermaid requirementDiagram code.

Diagram maker

C4 Context Diagram Maker

Draw a C4 context diagram — people, systems and relationships — from Mermaid C4Context code.

Diagram maker

C4 Container Diagram Maker

Zoom inside a system's containers with Mermaid C4Container syntax.

Chart maker

XY Chart Maker

Line and bar charts with axes and a title from Mermaid xychart-beta code.

Timeline

Text to Timeline Maker

Dates and events become a clean horizontal timeline. Also see the horizontal, project and history timeline makers.

Have numbers? Slice them.

Free, no sign-up, 10 renders a day.

Generate my pie chart