Browser-based diagram tool · your staff list stays on this device

Org Chart Maker

Load a CSV or Excel list of people and their managers and get a tidy organisation chart you can collapse, colour by department and export as SVG, PNG or PDF. Reporting loops, missing managers and extra top-level people are reported instead of silently dropped.

People list

CSV or XLSX up to 10.00 MB and 2000 people

Drop a CSV or Excel file, or click to choose

Columns like name, title, manager, department. An id column is optional.

Checks

Load a list to see the checks

Duplicate ids, people who list themselves as manager, managers that are not in the list, reporting loops, several top-level people and blank names are all reported here.

Org Chart Maker from CSV or Excel

Operator: Abdulla Al Fahad. How tools are built and checked

Most organisations already keep their reporting lines in a spreadsheet: one row per person, with a column saying who they report to. Turning that into a chart by hand means dragging boxes for an afternoon and redoing it at the next reorganisation. This tool draws the chart directly from the rows, and reads the spreadsheet critically on the way, so a misspelt manager shows up as a message rather than as a person quietly floating at the top.

You can upload a CSV or an Excel file, paste CSV text, or load a 15-person sample to see how it behaves. The chart is drawn as an SVG in your browser, can be collapsed team by team, coloured by department, and saved as SVG, PNG or PDF.

Key features

  • CSV or XLSX upload, pasted CSV text, and a built-in 15-person sample
  • Column detection by header synonyms with a dropdown override for every field
  • Matching of managers by id first, then by name, with warnings for duplicates
  • Detection of reporting loops, missing managers, self-reporting, duplicate ids, several roots and blank names
  • Top-down or left-to-right layouts that never overlap boxes, with parents centred over their children
  • Collapse or expand each team, expand all, collapse all, or expand to a chosen level
  • Department colours with a legend, zoom from 10 to 200 percent, and a fit-to-width button
  • Download as SVG, PNG (1x to 3x) or PDF

Columns, manager matching and the checks that run first

Accepted input is a .csv or .xlsx file up to 10 MB with a header row, or pasted CSV text. For an Excel workbook the first sheet is used. Up to 2000 people can be drawn; a longer list is refused with a message suggesting one chart per division. Rows with an empty name are skipped and reported.

Columns are detected from the header text. Recognised names for the person include name, full name and employee; for the job title, title, job title, role and position; for the manager, manager, manager id, reports to, supervisor and parent; for the identifier, id, employee id and staff id; for the department, department, dept, team and division. Each choice is shown in a dropdown so a column with an unusual header can be assigned by hand. Only the name column is required.

A manager value is matched against the id column first and the name column second, ignoring upper and lower case. If you have no id column, writing the manager's full name is enough. When two people share a name, anything that points to that name is attached to the first of them and a warning says so; an id column removes the doubt. Numbers typed as numbers in Excel work as ids.

The checks that run before drawing are: duplicate ids, people who list themselves as their manager, managers that are not in the list, reporting loops, several people with no manager, and blank names. A person whose manager is not found becomes a top-level box with a dashed border. A reporting loop such as A to C to B to A is written out in that form; the chart then treats the first member in file order as the start of the loop, draws that person at the top with a dashed border, and attaches the rest beneath. When several people end up at the top, each gets a separate tree and the trees sit side by side.

Cards are 200 by 64 units and show the name in 13-pixel bold, the job title and the department beneath it, each cut with an ellipsis when it would not fit the 178-unit text width. A coloured bar on the left shows the department; colours come from a palette of twelve and are handed out in order of first appearance in the file, so the same file always gets the same colours. A round control on each card with reports collapses or expands that team and shows the number of hidden people, such as +6.

Exports reproduce whatever is on screen. SVG is the same drawing with no interactive markup. PNG renders it at 1x, 2x or 3x and never exceeds 8000 pixels on either side, scaling down and saying so if the chart is very large. PDF sets the page to the chart's size, scaled down only when it would exceed 14400 points on a side, with real text and drawn lines. PDF cards have square corners where the SVG has slightly rounded ones.

How it works

People become nodes of a forest. The layout is a tidy tree in the Reingold and Tilford style: each team is laid out by itself and records, for every level beneath it, how far left and how far right it reaches. Sibling teams are placed from left to right and each is pushed just far enough that, at every level they share, the gap between them is at least the minimum, 24 units top down and 16 left to right. The manager is then centred over the first and last of their direct reports. This keeps a small team close to its manager instead of spreading it out to match its wider neighbour.

Left-to-right mode uses the same algorithm in a turned frame, with the card's height as the thing to keep apart and its width as the distance between levels. When there are several top-level people they are made children of an invisible root with no width, which gives the side-by-side forest without a special case.

The drawing is described once as a scene of cards, connector lines and collapse controls, and one function writes that scene as SVG with every piece of text escaped. The on-screen chart, the SVG file and the PNG all come from that string, and the PDF draws the same scene with PDF commands. Clicks on the controls are caught by one listener on the container rather than by handlers on each element.

Typical uses

  • Drawing the reporting structure of a 60-person company from an HR export for a board pack
  • Finding the people in a large list whose manager name was typed differently from the manager's own row
  • Showing a new hire's team and the chain above it by collapsing every other branch before exporting
  • Preparing a before and after chart for a reorganisation by loading two versions of the same sheet in turn

Building one

  1. Upload your file, paste CSV text and press Build chart, or load the sample to try it.
  2. Check the detected columns; change any dropdown that picked the wrong header.
  3. Read the Checks panel and fix anything flagged at the source, then upload again.
  4. Collapse teams you do not need, choose top down or left to right, and use Fit width to see the whole chart.
  5. Download SVG, PNG or PDF; the file shows the teams as they are expanded on screen.

Example

A four-row CSV with a loop and a stray top-level person

id,name,manager
1,A,3
2,B,1
3,C,2
4,D,

What the checks report and how it is drawn

Reporting loop: A → C → B → A (each reports to the next).
  The chart starts the loop at A, drawn with a dashed border.
2 people have no manager (A, D). They are drawn as separate trees side by side.

Result: tree 1 = A at the top, B under A, C under B; tree 2 = D alone.

Tips for best results

  • Add an id column and point the manager column at ids. It avoids every problem caused by spelling and by two people with the same name.
  • Collapse to the level you need before downloading; a PDF of the top three levels is far easier to read than one of the full tree.
  • Use Left to right for charts with few levels but many people at the same level, since boxes then stack down the page instead of spreading across it.
  • Keep department spelling consistent. Sales and sales team are two departments and get two colours.
  • Trim long job titles in the sheet if you want them in full; boxes show about 30 characters before an ellipsis.

Things to check before you rely on it

A row count in a message, such as Row 5, counts the header as row 1 and ignores completely blank lines, so it can differ from the row number your spreadsheet program shows.

Names are matched without regard to case but must otherwise be identical. A trailing space is ignored, but Bob Smith and Robert Smith are different people.

A very wide tree, such as one manager with 80 direct reports, is a very wide drawing. Use the zoom, collapse levels, or switch to left to right.

The PNG is drawn by your browser using the fonts installed on your computer, so text widths can differ a little between machines. Text in the PDF uses Helvetica, with images for scripts Helvetica cannot draw.

The chart cannot be edited by dragging boxes. Change the source rows and load the file again, or fix the column dropdowns.

Excel files with several sheets use only the first sheet.

Best practices

  • Fix every dashed-border person in the source file before sharing a chart, since each one marks a data problem.
  • Export the SVG when the chart will be edited in a vector program, and the PDF when it will be printed.
  • Remove columns that should not circulate, such as salary, before uploading if you are sharing the screen.

What a dashed border means

Two situations get a dashed border, and both mean the data needs attention. The first is a person whose manager value does not match anyone in the list, which is usually a misspelling or a manager who left and was removed from the sheet. The chart cannot guess, so it shows that person at the top and names them in the checks.

The second is the person chosen to break a reporting loop. Loops are impossible in a real organisation, so one link in the cycle is wrong. The tool cannot know which one, so it keeps every other link and starts the drawing at the first member of the loop in file order. Correct the manager cell that is wrong and the dashed border disappears.

Collapsing, levels and what gets exported

Each card with reports has a round control. Collapsing it removes the whole team beneath, and the control then reads +N, where N counts every person hidden below, not just direct reports. Expand to level 2 shows the top two levels and leaves cards on the second level collapsed, which is a quick way to produce an executive summary chart.

Collapsed state is kept while you change the direction or zoom, and reset when you load a different file or change a column mapping. Downloads show exactly what is on screen at that moment.

Frequently asked questions

Is the employee list uploaded to a server?

No. The file is parsed and drawn in your browser, and the PDF and PNG are built there as well.

How many people can it draw?

Up to 2000. Longer lists are refused with a message; splitting the file by division gives readable charts.

What if two people have the same name?

People pointing to that name are attached to the first one, and a warning tells you. Add an id column and use ids in the manager column to remove the ambiguity.

Can I choose the colours?

Not directly. Department colours come from a fixed twelve-colour palette, assigned in the order departments first appear in the file.