Most “compress video online” sites upload the file, hold it on a server, and cap the length unless you pay. This page does the encode locally. You get a progress bar and a time estimate, then a preview and the new size next to the old one.
MP4 is the default because it opens on phones, Windows, and Mac. Switch the format to WebM or MOV if you already know you need that container.