Code Formatter (Prettier)

Tidy up messy JavaScript, CSS, HTML, Markdown or YAML in one click.

تعمل 100% في متصفحك. لا تُرفع ملفاتك إلى أي خادم.

طريقة استخدام Code Formatter (Prettier)

  1. Paste your code into the left box.
  2. Choose the language, indentation and quote style.
  3. 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. قد تكون الملفات الكبيرة جدًا بطيئة على الهواتف القديمة.

المزيد من أدوات النصوص والمطورين

عرض الكل