How auto-save works
Fylepad continuously monitors your editor state and saves it automatically:Real-time monitoring
As you type, edit, or modify tabs, Fylepad tracks all changes to your notes and workspace configuration.
Automatic persistence
Your state is saved immediately to local storage without requiring manual save actions.
What gets saved
Fylepad persists your complete workspace state:Tab content and metadata
Tab content and metadata
- All open tabs and their content
- Tab names and order
- Active tab selection
- Unique tab identifiers for consistent tracking
Editor state
Editor state
- Complete note content in Markdown format
- Cursor position and text selection
- Undo/redo history for each tab
User preferences
User preferences
- Color mode (light/dark theme)
- Tab layout (horizontal/vertical)
- Sidebar visibility
- Text-to-speech settings (voice and rate)
Platform-specific storage
Desktop application
The desktop app uses a dual-layer storage approach for maximum reliability:The desktop app prioritizes Tauri’s native file system API for better performance and reliability, falling back to localStorage if needed.
app_state.json in your system’s application data directory. See Desktop application for exact paths.
Web application
The web version relies on browser localStorage:- Instant saving and loading
- No server communication required
- Complete privacy (data never leaves your device)
Data format
Your application state is stored as JSON:Migration and compatibility
Fylepad handles backward compatibility automatically:- ID migration: Older tabs without unique IDs are automatically assigned UUIDs
- Setting defaults: Missing preferences receive sensible default values
- Format updates: State structure updates are applied transparently
Reliability guarantees
No manual saves required
You can close Fylepad at any time without saving. Your work is continuously persisted as you type.Crash recovery
If the application closes unexpectedly:- Your last saved state remains intact in storage
- Reopen Fylepad to continue exactly where you left off
- All tabs and content are restored
Storage failure handling
If storage operations fail:- Desktop
- Web
The app falls back from Tauri’s file system to localStorage, ensuring your state is always saved.
Export and import
While auto-save handles persistence within each platform, you can manually transfer notes between devices:Export/import is file-based and doesn’t sync your complete workspace state. For full state transfer, you can manually copy the
app_state.json file between devices.Storage limits
Desktop
The desktop application has no practical storage limits. Your notes are stored as files on your system, constrained only by available disk space.Web
localStorage typically provides 5-10MB of storage per domain, which is sufficient for thousands of notes. If you approach this limit:- Export older notes to free up space
- Delete unused tabs
- Consider switching to the desktop application
Privacy
Fylepad’s auto-save system prioritizes your privacy:- All data is stored locally on your device
- No cloud synchronization or server uploads
- No account creation required
- Your notes never leave your device unless you explicitly export them