Color Converter
Convert any color between HEX, RGB, HSL, HWB, OKLCH, Lab, and CMYK, with shades, tints, and color harmonies.
Clean up and minify SVG files: remove editor metadata, round numbers, and compress path data, with a before-and-after preview. Free, private, and 100% in your browser.
Previews are shown as images, so scripts inside an SVG never run.
SVGs exported from Figma, Illustrator, Sketch, or Inkscape carry a lot of baggage: editor namespaces, layer names, hidden metadata, default values, and coordinates with six decimal places. None of it changes how the image looks, but all of it adds bytes to every page load.
Strips Illustrator, Inkscape, Sketch, and Figma namespaces, layer names, metadata, comments, and generator notes.
Rounds coordinates to your chosen precision and writes each path segment in its shorter absolute or relative form.
Keeps everything that affects rendering: referenced gradients and clip paths, inherited styles, text whitespace, and the title for screen readers.
Compare the original and optimized images side by side and see the savings in bytes and gzipped size.
Download the file, copy the markup, or copy it as a compact data URI or CSS background-image.
Files are optimized in your browser and never uploaded. Scripts are removed and previews never run them.
Files exported from design tools often shrink by 30-70%, mostly from metadata and over-precise numbers. Hand-written or already optimized SVGs shrink less. The status bar shows the exact savings, including after gzip compression.
The default settings only apply changes that keep the rendering identical. Very low precision (0 or 1 decimals) can visibly change small icons, so compare the previews when you lower it. Most icons look identical at 2 or 3 decimals.
Without fixed width and height, an SVG with a viewBox scales to the size of its container, which is what you usually want for responsive icons and illustrations. Keep them if the SVG must have an intrinsic size.
It follows the same ideas as SVGO, the standard Node.js optimizer, but runs entirely in your browser with a focused set of safe optimizations. Nothing is uploaded to a server.
Data URIs avoid an extra request and work well for small icons in CSS. For larger images or icons used on many pages, a separate file is better because the browser can cache it.
Convert any color between HEX, RGB, HSL, HWB, OKLCH, Lab, and CMYK, with shades, tints, and color harmonies.
Check text and background colors against WCAG AA and AAA contrast rules, preview them, and get passing alternatives.
Beautify, minify, and validate JSON instantly with exact line and column error reporting.
Compare two JSON documents side by side and see every added, removed, and changed value.