Edict is a publicly available
Japanese⇔English
dictionary file (really more of a word list)
maintained by Jim Breen (j.breen@csse.monash.edu.au) and is available at ftp.cc.monash.edu.au.
It is a text file consisting of ASCII and EUC text. Each line is of the form

JAPANESE [READING] /English/English..../
or
JAPANESE /English/English..../

The second form is used when the Japanese has no kanji.
The READING is the kanji's reading in kana.

English

The English will often have tags indicating grammatical components, or
other such information. For example, consider the entries

In addition, there are also (P) entries
denoting the most commonly-used words in Japanese, as, "identified by
examining several small dictionaries, and lists of common gairaigo from
Japanese newspapers," to quote Jim Breen.

Kanjidic is a database of information about kanji, also developed
and maintained by Jim Breen (j.breen@csse.monash.edu.au). It contains information about the over 6300 characters in the
JIS X 0208 standard.

Kanjd212 is a database of information about Kanji in the JIS X 0212-1990 supplementary character set.
It was developed to complement Kanjidic and is also maintained
by Jim Breen (j.breen@csse.monash.edu.au). It contains information about over 5800
characters in that standard. See kanjd212's
10 k-byte documentation file for more info.

Included are
almost the same number of fields as in Kanjidic, but due to a
dearth of information, not as many as one would like.

Both kanji dictionaries are available at ftp.cc.monash.edu.au or at any good Nihongo
mirror near you.