:g/^$/d
If you want to convert text to lowercase, create a visual block and press u (or U to convert to uppercase). Tidle (~) in command mode reverses case.