Convert a TrueType (.ttf) font to web font formats
Note that you are not allowed to embed any font in a website. You need to check the license first. Fonts from Font SquirrelShow archive.org snapshot are all okay to embed and use for commercial purposes, but as with many free fonts, quality differs widely, especially at medium and small font sizes.
You can use the Font Squirrel @font-face generatorShow archive.org snapshot to upload a TrueType (.ttf) font and generate web font formats. This also gives you a sample CSS to embed those fonts (which isn't trivial to write on your own either).