Contractions are generally considered to be informal. They are commonly used in spoken English, but not as much in written English. While there are some exceptions ( such as I'm, we're, and you're), contractions are usually considered to be too informal for formal writing.