Formal:
* Encantado/a de conocerle. (This is the most formal way to say it, used for someone you don't know well or someone older than you.)
* Mucho gusto en conocerle. (This is another very formal option.)
Informal:
* Mucho gusto. (This is the most common and casual way to say it. It literally means "much pleasure," but is understood as "Nice to meet you.")
* Un placer conocerte. (This is a slightly more formal way to say it, but still appropriate for friends or acquaintances.)
* Es un gusto conocerte. (Similar to "Un placer conocerte," this is a bit more formal but still informal enough for most situations.)
Adding a little extra:
* Me alegra mucho conocerle/conocerte. (This means "I'm very happy to meet you" and adds a personal touch.)
Remember to adjust your choice based on the context and the person you're speaking to.