The noun earth can be countable or uncountable.
In more general, commonly used, contexts, the plural form will also be earth.
However, in more specific contexts, the plural form can also be earths e.g. in reference to various types of earths or a collection of earths.