Base64 Encoder & Decoder
Convert text to Base64 and back, with full Unicode support.
Strip whitespace and optionally comments from XML, and see the bytes saved.
The XML Minifier removes the indentation and line breaks between elements, optionally strips comments, and reports exactly how many bytes that saved. The parsed document is identical before and after.
Minifying XML removes the indentation and line breaks between elements, which on a pretty-printed document is often a third of the file. The elements, attributes and text content are untouched — the parsed result is identical.
It matters most for payloads that travel repeatedly: SOAP request bodies, sitemap files, RSS feeds and configuration bundled into an application. Comments can be stripped at the same time, which is usually safe for a machine-read document and is where the remaining savings are. The tool reports the size before and after so you can see whether it was worth it.
Only whitespace between elements is removed. Text inside an element, which a parser treats as content, is preserved exactly.
Keep them for a document a person reads, or strip them for the smallest payload — usually the larger of the two savings.
Version and encoding are kept on the first line, because some parsers insist on them.
Size before, size after and the percentage removed, so you can tell whether it was worth doing.
A document that will not minify is a document that will not parse, and the error names the line.
Any formatted XML document.
Keep them for a document humans read, or strip them for the smallest payload.
The stat row shows the size before, after and the percentage removed.
Take the minified document or save it as an .xml file.
Text inside an element is preserved exactly, so content is safe. Only whitespace that sits between elements — which no XML parser treats as content — is removed.
Yes. It carries the version and encoding, which some parsers require, so it stays on the first line.
A four-space indented document with deep nesting can lose 30 to 40 per cent. Something already compact may lose almost nothing.
The gain is smaller, since gzip compresses repeated indentation very well, but minifying still cuts the bytes a parser has to walk and the memory the document occupies.
What people who use the XML Minifier think of it. Reviews come from visitors and are posted as written.
No ratings yet
Yours would be the first.
0 reviews
Newest first
No reviews yet
Be the first to rate the XML Minifier. It takes half a minute and no account.
Write the first reviewConvert text to Base64 and back, with full Unicode support.
Build a cron schedule from controls and see the next times it runs.
Generate a production Dockerfile with multi-stage builds and layer caching.
Generate correct CORS headers, and understand why the request was blocked.
Build a valid package.json with scripts, exports and metadata.
Fill in the fields and get a complete README.md in Markdown.
Turn a JSON object into a TOML document with proper tables and arrays of tables.
Convert XML into clean JSON, with attributes and text handled predictably.