I am aware that you can do something like go to md5online.org or something, but I want to know how to do it manually. For example, you might encrypt it like by taking the length of it and turning the number to hexadecimal. I highly doubt that is how you do it, but that is just an example. I know it is impossible to decrypt it, unless you do guess and check
First of all, let's be clear: encryption (encipherment) and hashing are not the same thing. Hash functions convert an arbitrary-size input into a fixed-size output, which by necessity loses some data and is therefore not reversible. If there isn't any way to get back to the plain text - and there isn't, with a hash function; you might find something that produces the same digest but you can't prove it was the same as the original - then it's not encryption.
Second: you shouldn't be using MD5 for anything, anymore. It's broken. If you don't require security, there are non-cryptographic functions that are faster to compute and produce outputs which are smaller to store/transmit. If you need security at all, use a modern and secure cryptographic hash algorithm, such as a member of the SHA-2 or SHA-3 family.
With that all said: MD5 is an algorithm that operates on bits (although in practice nearly all implementations operate on bytes). There are multiple ways to encode text as bits (binary), most commonly ASCII (which is seven bits per character but widely extended to use the eighth bit of a byte to hold additional values), UTF-8 (each character is stored in one or more bytes), or UCS-2 (or its extension UTF-16, where each character is stored in two - or possibly more, with UTF-16 - bytes).
To hash anything, you take the input (might be encoded text, or an image file, or a network packet data structure, or...) as a buffer, and call the desired hash function with that buffer as an input parameter. For text in particular, you simply take a representation of the text in the desired binary encoding and pass it as the input buffer to the hash function. Every non-toy programming language has some native encoding of text (which may or may not be already suitable for use as a hash function's input buffer), and has functions to convert a text string to a byte array of a desired encoding.
All general-purpose programming languages should also have at least one library that implements the most common hash functions. You can also invoke programs to do it from the command line (or from a shell script), such as
openssl dgst -md5, although they might not be installed by default on your machine (depending on OS and install configuration).