Search code examples
csvnotepad++

How to vertically align comma separated values in Notepad++?


As shown in the picture "Before" below, each column separated by comma is not aligned neatedly. Is there any method to align each column vertically like the display effect in Excel?

The effect I wish is shown in the picture "After". Before After

Thanks to @Martin S , I can align the file like the picture "Method_1". As he has mentioned, some characters still cannot align well. I was wondering if this method could be improved? Method_1


Solution

  • You can use the TextFX plugin:

    • TextFX > TextFX Edit > Line up multiple lines by ...

    Notepad++ > Line up...

    Note: This doesn't work if the file is read only.

    http://tomaslind.net/2016/02/18/how-to-align-columns-in-notepad/

    Update 2019: Download link from SourceForge