Code Formatter (Prettier)
Tidy up messy JavaScript, CSS, HTML, Markdown or YAML in one click.
100%ブラウザ内で動作します。ファイルがサーバーにアップロードされることはありません。
Code Formatter (Prettier)の使い方
- Paste your code into the left box.
- Choose the language, indentation and quote style.
- Click Format, then copy or download the result.
よくある質問
What is Prettier?
Prettier is an open-source (MIT) code formatter used by millions of developers. It prints code in one consistent style, so every file in a project looks the same.
Is my code uploaded anywhere?
No. Prettier runs entirely in your browser, and your code is processed on your own device.
Which languages are supported?
JavaScript and JSX, CSS, HTML, Markdown and YAML. TypeScript needs a separate parser, which is not included here.
Code Formatter (Prettier)は無料ですか?
はい。Code Formatter (Prettier)は無料で、登録不要、透かしも入りません。
ファイルはサーバーにアップロードされますか?
いいえ。処理はすべてJavaScriptとWebAssemblyを使ってブラウザ内で行われます。ファイルが端末の外に出ることはないため、高速でプライバシーも守られます。
スマホでも使えますか?
はい。Windows、Mac、Linux、Android、iPhoneの最新ブラウザで動作します。古いスマホでは大きなファイルの処理に時間がかかることがあります。