Compiler compiles the all code at a time but interpreter interpret it line by line.
Hi,
Compiler will translate the source code into machine code in a single strech, where as the Translator will do it line by line.