The main difference between encoder and priority encoder is- the encoder generates an error output when more than one input is high. But they are used in applications compressing data. Hence, priority encoders are introduced to overcome the issues of binary encoders.