Whitespace & Indentation Cleaner
Clean up messy text or code in one paste. Strip trailing whitespace, collapse runs of blank lines, swap tabs for spaces (or vice versa), normalize CRLF/LF/CR line endings, and replace weird Unicode spaces with plain ASCII — with live before/after stats and toggleable rules so you only touch what you want.
ملخص الأداة
تستقبل هذه الأداة مدخلات منظمة وتُرجع مخرجات حتمية في المتصفح، دون رفع إلى الخادم.
- اسم الأداة
- Whitespace & Indentation Cleaner
- غرض المدخلات
- قدّم المحتوى المصدري لتحويله أو التحقق منه أو تحليله.
- غرض المخرجات
- احصل على مخرجات موحدة جاهزة للنسخ أو إعادة الاستخدام أو التصحيح.
- مدخل مثال
- function hello ( name ) { \tconsole.log( "hi " + name ); return true; }
- مخرج مثال
- function hello ( name ) { console.log( "hi " + name ); return true; }
Recent inputs0
Your last 5 inputs will appear here.
function hello ( name ) {
console.log( "hi " + name );
return true;
}
مقدمة الأداة
Clean up messy text or code in one paste. Strip trailing whitespace, collapse runs of blank lines, swap tabs for spaces (or vice versa), normalize CRLF/LF/CR line endings, and replace weird Unicode spaces with plain ASCII — with live before/after stats and toggleable rules so you only touch what you want.
نظرة عامة على الأداة
Whitespace bugs are the silent productivity drain — emails with double spaces, code reviews with mixed indentation, CSV exports with no-break spaces hiding in cells. This tool gives you a focused interface for the common cleanups: trim each side independently, collapse internal runs, drop or merge blank-line gaps, convert between tab and space indentation at any width, and rewrite line endings to LF, CRLF, or CR. Everything runs locally.
حالات الاستخدام
- Normalize indentation when pasting code from a chat or browser
- Strip trailing whitespace before committing to git
- Convert CRLF line endings to LF for Linux build environments
- Remove no-break spaces and other weird Unicode whitespace from CSV exports
- Clean up email content with double spaces and inconsistent line breaks
أمثلة المدخلات/المخرجات
function hello ( name ) {
\tconsole.log( "hi " + name );
return true;
}function hello ( name ) {
console.log( "hi " + name );
return true;
}الأسئلة الشائعة
Will this corrupt strings inside code?+
What counts as a Unicode space?+
Why might I want CR or CRLF endings?+
Is my text uploaded?+
استكشف أدوات أخرى
اكتشف أدوات ذات صلة في الفئة النص أدناه.
أدوات ذات صلة
أدوات منتقاة قد تجدها مفيدة