## Importing Entries

Password Safe allows you to import password information from other formats. These files may be generated by other applications, exported from a spreadsheet, or even written by hand using Notepad or a similar text editor.

The formats that Password Safe support are:

- Text
- XML
- KeePass (another password management utility)

### Text Format

Text files used to import password entries consist of one or more password entries. Each field within an entry is separated by a field separator and each entry may consist of one or more lines. The fields are as follows:

- Group and Title Field
  Groups and Titles are separated by periods. For example Finance.BangForBuckBank (Group.Title). If there is no associated group (a top level entry), then the Title should contain no periods.
- User Field
  The name of the user associated with this entry. To use the default name specified in Options... this field should be blank.
- Password Field
  The actual password.
- URL
  The URL associated with this entry (if any)
- AutoType
  The AutoType string to be used instead of the default (see AutoType)
- Creation Time
  The date and time that the entry was created, in the format of "YYYYY/MM/DD HH:MM:SS".
- Password Modification Time
  The date and time that the password was last modified, in the same format as the creation time
- Last Access Time
  The last date and time that the entry was accessed (username or password copied to clipboard or entry viewed)
- Password Expiry Date
  The date and time that the entry was set to expire
- Record Modified Time
  The last time that any field in the entry was modified
- Notes Field
  If the Note is more than a single word, it must be enclosed between double quotes ("test note"). A note may span more than a single line, as long as it is terminated with a double quote.

### Import Text Settings Dialog

The field separator used in the text file being imported and a default group name to import the new entries into can be configured before processing the file.

1. File > Import From....
2. Select Plain Text...
3. Set import settings and parameters for the text file being imported
4. If a Notes field multi-line delimiter character has been used, either in a previous Export or using a text editor, enter it here so that, during the Import process, the Notes field will be split into multiple lines by replacing this character by a newline.
5. If the text file has no date information, then the "Import V2 or earlier text file" should be checked.
6. Click OK
7. Select the text file to import.

Note: At the end of the import process, a small dialog box appears showing how may entries were added, and how many (if any) were unsuccessfully parsed.

### XML

XML (eXtensible Markup Language) is a popular format for transferring data between applications. Password Safe can import XML files that were generated according to the schema defined in the file pwsafe.xsd, which is provided as part of the distribution.