Browse and edit SQLite databases
Structured files
Open a SQLite database (.sqlite, .sqlite3, .db, or .db3) and select an entry in Tables. The Structure pane shows the columns. The Record pane shows one record at a time. Search all columns or choose a single column, and use the arrows under Record to move between results.
For a writable database, use +, the pencil, and − under Tables to add, rename, or delete a table. Use the same controls under Structure to add, rename, or delete a column. Choose the column’s type from the pop-up when adding it.
Use + or the pencil under Record to open a sheet for the whole record. Enter values and choose a Storage Type when needed. For a new record, Default lets SQLite supply the column’s default. Click Create or Save to apply the changes, or Cancel to close the sheet. Use − to delete the displayed record.
Query runs a read-only SELECT statement. Use Specification to see the selected table’s SQL definition, indexes, and triggers. Export Results saves the current results as CSV, Export Record saves the displayed record, and Export Database writes a separate CSV file for each table. To edit a saved .sql script, open it in the text editor.
Create a new document
Getting started
Choose a format in the welcome window or the File menu.
- New JSON (⌥⌘J) opens the JSON editor with an empty object (
{}). - New XML (⌥⌘X) opens the XML editor with an empty
<root/> element. - New SQLite Database… (⌥⌘B) prompts for a location and creates an empty SQLite database.
- New Text File (⌘N) opens a blank text document.
- New Binary File (⌥⌘I) opens an empty hex editor and defaults to
.bin on save. - New Property List (⌥⌘P) starts an XML
.plist with an empty root dictionary.
Edit JSON and XML with the controls below the tree. Choose File → Save (⌘S) to save your changes.
Edit and save text
Text editor
Open a plain-text file or create one with File → New Text File (⌘N). Choose Find or Go to Line in the editor toolbar to navigate. Statistics shows document counts and Settings contains editor and file options.
Choose File → Save (⌘S) to write your changes, or File → Save As… (⇧⌘S) to create a separate copy. Check the encoding and line-ending options when another tool expects a specific format.
Edit JSON and XML
Structured files
Open a .json or .xml file and expand the tree to see nested nodes. In JSON, select an object or array and click + below the tree to add a child. Select a scalar value to add a sibling. Choose Object, Array, String, Number, Boolean, or Null. Enter a property name when adding to an object. Array items are appended. In XML, select an element and click + to add a child. With a text or comment node selected, + adds an element to the same parent. Enter the element name and optional text.
Use the pencil to edit the selection and − to remove a supported node. In XML, − removes an element below the root. With focus in either tree, press Return to edit a supported selection and Delete to open the removal confirmation.
Tree edits appear immediately. In JSON, use the read-only pane to view the selected value, formatted document, or source. Use the toolbar search in either editor or press ⌘F to focus it.
In the XML tree, a badge shows how many children an element has. Double-click a branch to expand or collapse it. Double-click an editable leaf to change it. You can edit text, CDATA, comments, and processing instruction data directly.
Select a node and choose Text to read its plain text or XML to see its markup. Select the root in the XML tab to see the full document source. The pane below shows the selected element’s attributes. Select and copy the path at the bottom, or right-click the node and choose Copy Node Path.
Search XML searches node names, attributes, and values. Right-click a search result and choose Reveal in Tree to find it in the document. In the toolbar, choose Export, then Original XML or Formatted XML, to save a separate copy.
Choose File → Save (⌘S) to write your changes, or File → Save As… to save them to a new file.
Edit XML and binary property lists
Structured files
Choose File → Open… (⌘O) and select an XML or binary .plist. Expand arrays and dictionaries to inspect their contents. Edit dictionary keys and scalar values in the table. Use the Type pop-up to change a value’s type, or click Modify next to a Data value to edit its bytes in the hex editor.
Use the controls below the table. Click + to choose a type and add a child to a selected array or dictionary, or to add a sibling alongside a selected scalar. Use the pencil or Return to edit the selected item. Click − or press Delete to remove it. Switching between an array and a dictionary retains the values. FileFidget supplies keys for array entries when converting them to a dictionary.
Save and Save As… preserve the original XML or binary format. New property lists are saved as XML.
Inspect and edit raw bytes
Hex editor
Choose File → Open in Hex Editor… to open any file as a grid of bytes, or choose New Binary File (⌥⌘I) to start with an empty file. Files up to 100 MB can be opened in the hex editor.
The left column shows byte offsets. The right column shows a text preview. Double-click a byte and enter its hexadecimal value, such as FF. Use the arrow keys to move between bytes, Add Byte to append a zero byte, or Delete to remove the selected byte. Use Previous and Next to move through large files.
Use Edit → Undo (⌘Z) to reverse a change and File → Save As… (⇧⌘S) to save a separate copy for testing.
Open, create and reopen files
Getting started
Choose File → Open… (⌘O), click Open File… in the welcome window, or drop documents on the welcome window or FileFidget’s Dock icon. FileFidget opens .json and .xml in their editors, SQLite databases in the SQLite editor, .plist files in the property list editor, and .bin files in the hex editor. Plain text and .sql scripts open in the text editor.
Choose File → Open in Hex Editor… to inspect any file as bytes.
Use File → Open Recent to reopen a file. If you moved the file, open it again from its new location. Use Clear Menu to clear the history.
Clear Show this window at launch in the welcome window to skip it on empty launches. Opening a document at launch goes directly to the document.
Recover unfinished text edits
Text editor
Choose Window → Recover Text… or click Recover in the text editor toolbar. Check the documents you want, then click Restore. The recovery dialog closes and FileFidget opens each checked document. Save them to the locations you want.
Close the dialog with its title-bar close button to leave the recovery copies for later. To discard a copy, check just that document and choose Discard….