Can you end a sentence with “to”?

Yes, a sentence can end with “to” (e.g., “Whom are you talking to?”). In the past, writers were encouraged not to end a sentence with a preposition (e.g., “to,” “for,” “about”), but this guidance is outdated.

Sentences and clauses frequently end with a preposition when the object of the preposition is a relative pronoun (e.g., “whom,” “what”).