Kipunguza HTML
Bana HTML kwa kuondoa maoni na nafasi za ziada.
Hufanya kazi kwenye kivinjari chako. Faili zako hazitoki kamwe kwenye kifaa. Tazama jinsi ya kuthibitisha
…
Jinsi ya kufanya
- 1Jaza visanduku
Andika namba zako au chagua chaguo unazohitaji.
- 2Angalia matokeo
Jibu husasishwa mara moja unapobadilisha thamani.
- 3Litumie
Nakili matokeo au yaandike. Hakuna kinachotumwa popote.
About this tool
Paste your HTML to remove comments and collapse extra spaces and line breaks. Content inside pre, textarea, script and style blocks is kept as it is. Tick the aggressive option to also remove the spaces between tags, which makes the file smaller but can close the gap between inline words.
When to use it
Compress HTML by removing comments and extra spaces.
Tips
Check pre blocks, which keep spacing.
Privacy
Everything runs in your browser, so your data is not uploaded or stored.
Notes
Minifying removes comments and extra spaces, but not required spaces between inline elements. Keep a readable source and publish the minified copy.
Vidokezo vya matokeo bora
Angalia kila kisanduku kabla ya kuamini matokeo, kwa sababu nambari moja isiyo sahihi hubadilisha jibu zima. Tumia nambari kamili kutoka kwenye hati ya mshahara, ankara, cheti au mkataba na uandike tarehe uliyohesabu. Viwango, vizingiti na sheria hubadilika mara kwa mara, kwa hivyo kwa kodi, ada na masuala ya kisheria chukulia matokeo kuwa makadirio na uyathibitishe na chanzo rasmi kilichotajwa kwenye ukurasa huu. Unaweza kujaribu hali nyingi unavyotaka; hakuna kinachohifadhiwa wala kutumwa na kupakia upya ukurasa husafisha visanduku.
Kwa ufupi
- Kategoria: Nyaraka
- Hufanya kazi kwenye kivinjari, bila usajili, bila kupakia.
- Taarifa unazoingiza hubaki kwenye kifaa chako.
- Inapatikana kwa lugha nyingi.
- Maudhui yalikaguliwa mwisho:
Maswali yanayoulizwa mara kwa mara
Is it safe to use?
Yes with the default settings. Check the page after using the aggressive option, because spaces between inline tags can matter.
Are conditional comments kept?
Yes. Conditional comments for old versions of Internet Explorer are left alone.
Are pre blocks kept?
Yes.
How much does it save?
Often 10 to 30 percent.
Does it minify inline CSS and JS?
This tool handles the HTML only. Use the CSS and JS minifiers for those.