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?+
다른 도구 보기
아래의 Text 카테고리에서 관련 유틸리티를 찾아보세요.
관련 도구
유용할 수 있는 엄선된 유틸리티