قالببندی HTML
قالببندی HTML
در مرورگر شما اجرا میشود · بدون بارگذاری
این ابزار و راهنمای این صفحه فعلاً به زبان انگلیسی است. عملکردش همان است: همه چیز در مرورگر شما اجرا میشود.
مرورگر شما برای اجرای این ابزار خیلی قدیمی است. لطفاً آن را بهروز کنید یا از نسخهٔ فعلی Chrome، Edge، Firefox یا Safari استفاده کنید.
- هیچ چیز از دستگاه شما خارج نمیشود
- بدون محدودیت حجم از سوی سرور
- بدون ثبتنام، بدون واترمارک
- رایگان
How to format HTML
- Paste your HTML, open a file, or try the example.
- Pick the indentation and where long lines wrap.
- Copy or download the tidy HTML.
Good to know
- Only spacing and line breaks change. The content inside <pre> and <textarea> is kept exactly.
- Inline <script> and <style> blocks are formatted too.
- Formatting doesn't check for mistakes such as unclosed tags; the result follows the structure the code has.
- Formatting is done by js-beautify, a widely used open-source formatter.
پرسشهای رایج
Will formatting change how my page looks?
Usually not. In rare cases, whitespace between inline elements (such as two links side by side) can add or remove a small gap.
Is my code uploaded?
No. Everything happens in your browser, and the page is blocked from uploading anything.