If a circuit breaker says 20 amp, can I install a 20 amp receptacle in the circuit?

1984 home. Unsure of wire gauge. Wondering if it is safe to swap out a 15 amp receptacle for a 20 amp GFCI receptacle in the laundry room. Thanks for the input!
6 answers 6