Tailwind Class Sorter
Sort Tailwind classes and detect conflicting utilities with a winner explanation.
OpenRead, preview and shrink SVG path data without opening a vector editor.
Drop in path data, or start from the heart or star sample.
Each command lists its type, arguments and absolute end point.
Toggle fill and the bounding box to confirm the shape is right.
Set the decimals, keep Minify on, then copy or download the SVG.
An icon exported from a design tool arrives with path data like 12.000003 -4.99999 repeated a few hundred times, and one curve renders slightly off. You need to see which command draws that curve and trim the noise before the icon goes into a component library.
Paste the contents of a d attribute, or load the heart or star sample, and the inspector parses every command: M, L, H, V, C, S, Q, T, A and Z in absolute and relative form, including implicit commands that follow a moveto. The table shows each step with its type, arguments and absolute end point. The canvas preview scales the shape to fit and can draw the bounding box, which is computed from flattened curve and arc samples rather than control points, so it matches what is actually painted.
The Decimals setting (0 to 6) rounds coordinates, and Minify strips separators and leading zeros while keeping the syntax valid. Lower the precision one step at a time and watch the preview: icons drawn on a 24 unit grid usually survive 1 or 2 decimals, while large illustrations may need 3. Arc flags are never rounded. When you also want to clean the surrounding markup, run the file through the SVG optimizer afterwards.
Everything is parsed and drawn with canvas in your browser. Other CSS and front-end helpers sit in the same category.
Keyboard shortcut
Answers for this tool. For site-wide help, open the FAQ hub.
The SVG spec treats extra coordinate pairs after a moveto as implicit lineto commands. The table marks these rows as implicit so you can see where the line comes from.
It depends on the viewBox. Small icons usually look identical at 1 decimal, while detailed artwork on a large canvas may need 2 or 3. Compare the preview at each step before copying.
The table shows absolute end points for every command, but the rewritten path keeps each command in its original relative or absolute form.