2D Tile Editor

I know there’s a lot of 2D map editor out there with the same generic set a level size, import tile set, and make stuff. I’m fine and in love with this idea (not really, but let’s move on) My problem is the exporting. Does any one know of a 2D map editor that is semi versatile and can export maps in a format similar to below?


00 00 00 00 00
00 01 00 00 01
00 00 01 00 00
01 00 01 00 00