Ugly duckling

An ugly or plain child who grows up to be attractive.

The girl was an ugly duckling when she was a child but now she is very beautiful.