TOAD is a very powerful and flexible tool, you can export all DDL scripts for tables, indexes, views, store procedures...
Menu path
Database/Export /Table Scripts...
Click buttonand then Click buttonand then select Tab "Output" and enter the file name which will be generated and click button