🍋
Menu
🍋 Developer Tools

HTML Formatter

Beautify or minify HTML code with proper indentation

Free 브라우저 전용 No sign-up
chars words sentences lines

포매터 옵션

결과

결과

HTML Formatter 소개

Format HTML code with proper indentation and line breaks, or minify it by removing whitespace. Supports customizable indent size for beautified output.

작동 방식

Paste your HTML code and choose to format (beautify) or minify. The formatter parses HTML tags and text nodes, applying proper indentation based on nesting level. Void elements and inline content are handled correctly.

단계별 사용법

  1. 1 [
  2. 2 '
  3. 3 P
  4. 4 a
  5. 5 s
  6. 6 t
  7. 7 e
  8. 8
  9. 9 y
  10. 10 o
  11. 11 u
  12. 12 r
  13. 13
  14. 14 H
  15. 15 T
  16. 16 M
  17. 17 L
  18. 18
  19. 19 c
  20. 20 o
  21. 21 d
  22. 22 e
  23. 23
  24. 24 i
  25. 25 n
  26. 26
  27. 27 t
  28. 28 h
  29. 29 e
  30. 30
  31. 31 i
  32. 32 n
  33. 33 p
  34. 34 u
  35. 35 t
  36. 36
  37. 37 a
  38. 38 r
  39. 39 e
  40. 40 a
  41. 41 '
  42. 42 ,
  43. 43
  44. 44 '
  45. 45 C
  46. 46 h
  47. 47 o
  48. 48 o
  49. 49 s
  50. 50 e
  51. 51
  52. 52 F
  53. 53 o
  54. 54 r
  55. 55 m
  56. 56 a
  57. 57 t
  58. 58
  59. 59 (
  60. 60 b
  61. 61 e
  62. 62 a
  63. 63 u
  64. 64 t
  65. 65 i
  66. 66 f
  67. 67 y
  68. 68 )
  69. 69
  70. 70 o
  71. 71 r
  72. 72
  73. 73 M
  74. 74 i
  75. 75 n
  76. 76 i
  77. 77 f
  78. 78 y
  79. 79 '
  80. 80 ,
  81. 81
  82. 82 '
  83. 83 S
  84. 84 e
  85. 85 l
  86. 86 e
  87. 87 c
  88. 88 t
  89. 89
  90. 90 i
  91. 91 n
  92. 92 d
  93. 93 e
  94. 94 n
  95. 95 t
  96. 96
  97. 97 s
  98. 98 i
  99. 99 z
  100. 100 e
  101. 101
  102. 102 (
  103. 103 2
  104. 104
  105. 105 o
  106. 106 r
  107. 107
  108. 108 4
  109. 109
  110. 110 s
  111. 111 p
  112. 112 a
  113. 113 c
  114. 114 e
  115. 115 s
  116. 116 )
  117. 117 '
  118. 118 ,
  119. 119
  120. 120 '
  121. 121 C
  122. 122 o
  123. 123 p
  124. 124 y
  125. 125
  126. 126 t
  127. 127 h
  128. 128 e
  129. 129
  130. 130 f
  131. 131 o
  132. 132 r
  133. 133 m
  134. 134 a
  135. 135 t
  136. 136 t
  137. 137 e
  138. 138 d
  139. 139
  140. 140 r
  141. 141 e
  142. 142 s
  143. 143 u
  144. 144 l
  145. 145 t
  146. 146 '
  147. 147 ]

  • [
  • '
  • U
  • s
  • e
  • F
  • o
  • r
  • m
  • a
  • t
  • t
  • o
  • m
  • a
  • k
  • e
  • c
  • o
  • m
  • p
  • r
  • e
  • s
  • s
  • e
  • d
  • H
  • T
  • M
  • L
  • r
  • e
  • a
  • d
  • a
  • b
  • l
  • e
  • '
  • ,
  • '
  • U
  • s
  • e
  • M
  • i
  • n
  • i
  • f
  • y
  • t
  • o
  • r
  • e
  • d
  • u
  • c
  • e
  • f
  • i
  • l
  • e
  • s
  • i
  • z
  • e
  • f
  • o
  • r
  • p
  • r
  • o
  • d
  • u
  • c
  • t
  • i
  • o
  • n
  • '
  • ,
  • '
  • I
  • n
  • l
  • i
  • n
  • e
  • e
  • l
  • e
  • m
  • e
  • n
  • t
  • s
  • (
  • s
  • p
  • a
  • n
  • ,
  • a
  • ,
  • s
  • t
  • r
  • o
  • n
  • g
  • )
  • s
  • t
  • a
  • y
  • o
  • n
  • t
  • h
  • e
  • s
  • a
  • m
  • e
  • l
  • i
  • n
  • e
  • '
  • ]

자주 묻는 질문