Is there a way to convert blueprints to text, and convert text back to blueprints?

By text do you mean a c++ file? If you right click a BP class there should be an option in there to view header fill it will show you a hypothetical. h file you could copy and paste