A dictionary is typically a reference work with short entries on a wide range of topics (definitions of terms, profiles of famous philosophers, etc.). Here are links to eBook versions of a few of the best philosophical dictionaries. All of these are also available in print:
An encyclopedia is typically a longer work with longer entries on a wide range of philosophical topics. Good philosophical encyclopedias include: