“On line” vs. “Online” vs. “On-line”

Don't use “on-line”; the hyphen is not needed. Use “on line” if you don't need an adjective; use “online” if you do. This same logic applies to “off line” as well.

Here are some examples of correct usage: