Markdown Formatter
Normalize full-width→half-width, fix spacing. HackMD-compatible.
Data is never sent to the server. Everything runs locally in your browser. Safe for sensitive information.
About this tool
This tool formats Markdown in one click. Three features: 1) Normalize full-width # to half-width, ##text to ## text, 2) Fix header and list spacing, 3) Preserves code blocks. HackMD-compatible. No data sent to server.
Tool interface
Formatting rules
- Full→half: #→#, -→-, 0-9→0-9, []→[], ()→() etc.
- Headers:
##text→## text - Lists:
-item→- item,1.item→1. item - Blockquotes:
>text→> text,さらに> 引用→さらに > 引用 - List indent: Leading full-width space → 2 half-width spaces
- :::details: Add space between
:::detailsand title - Tables:
|a|b|→| a | b | - Footnotes:
[^1]:content→[^1]: content - Horizontal rules:
***/___→--- - Zenn image:
→ - Preserved: Code blocks, math ($$/$...$),
\*...\*/\[...\], links/images,:::message/:::details/:::note,<details>/<!-- -->/@[card]etc. - In-text #: Only heading # at line start is half-width; mid-sentence # preserved
Supported Services
Compatible with Markdown syntax used by the following services. Also works with many others (GitHub, GitLab, HackMD, Obsidian, etc.).
Zenn ▼
Supported syntax:
- Headings, lists, blockquotes, tables, footnotes, horizontal rules
- Images:
width, caption*text* - Code:
lang:filename,diff js - Math:
$$block,$inline (KaTeX) - Custom:
:::message/:::message alert/:::details(nest with:::) - Embeds:
@[card]@[tweet]@[youtube]@[gist]etc. - mermaid, emoji
:emoji:, HTML comment<!-- -->
Qiita ▼
Supported syntax:
- GFM + extensions. Code:
lang:filename,diff_lang :::note info/warn/alert<details><summary>collapsible- Checkbox
- [ ]- [x], description list<dl> - Math:
```mathor$`...`$ - PlantUML, Mermaid, emoji, link cards (URL-only line)
- Reference links
[text][ref], anchor#heading
note ▼
Supported syntax:
- Headings, blockquotes, lists, emphasis, code blocks, strikethrough, horizontal rules
- Headings: h2, h3 only (h1→h2)
- Emphasis:
**preferred (__needs spaces) - Lists: avoid mixing
-and*
VSCode / GFM ▼
Supported syntax:
- Headings, lists, blockquotes, links, images, tables, horizontal rules
- Code:
lang:filename(e.g.c:main.c) - Italic
*, bold**, strikethrough~~
Zenn, Qiita, note, HackMD, GitHub, GFM and more.
Usage
- Paste Markdown in the input field
- Click Format for full-width→half-width and spacing fix
- Code blocks preserved. HackMD-compatible output
When to use
Examples
FAQ
What is Markdown?
How to write Markdown headers?
Full-width vs half-width?
How to write code blocks in Markdown?
Is Markdown Formatter free?
Is data sent to a server?
Supported browsers?
Offline use?
vs CLI or desktop apps?
When to use it?
Usage example?
Main features?
How is this different from similar tools?
Search keywords
Basic workflow
- Paste Markdown in the input field
- Click Format for full-width→half-width and spacing fix
- Code blocks preserved. HackMD-compatible output
Practical use cases
- Fix messy Markdown from copy-paste, format before using in HackMD.
- This tool formats Markdown in one click. Three features: 1) Normalize full-width # to half-width, ##text to ## text, 2) Fix header and list spacing, 3) Preserves code blocks. HackMD-compatible. No data sent to server.
- Full-width→half-width conversion
- Header and list spacing fix
Privacy & data handling
Input is processed locally in your browser—nothing is sent to our servers.
Things to watch out for
- Treat Markdown Formatter as a quick check — re-verify critical values in your editor or CI before shipping.
- This tool runs locally: closing the tab clears unsaved input. Copy results you need to keep.
- Very large pastes can freeze a tab briefly — wait for the result before closing the tab.
Related learning content
Related tools
Tool set
Temporary Share & Memo Set