docs/help/contents/rich-text-editor/images-attachments-and-embeds.md
Notes aren't only text. You can drop an image into a note, attach a file of any type, play back an audio recording, preview a PDF beside what you're writing, and embed a video or a post from the web. Everything you attach is encrypted before it leaves your device.
::: info You need an account to attach anything
Attachments are uploaded to your encrypted storage, so Notesnook asks you to log in the first time you try to add one — the message reads {{notLoggedIn}} on desktop and web, and {{loginRequired}} on mobile. Storage and maximum file size depend on your plan; see plans & limits.
:::
<!-- TODO: screenshot — a note containing an image, a file attachment and an embedded video -->{{image}}.{{uploadFromDisk}} (or press Ctrl+Shift+I) and select one or more image files, or pick {{attachImageFromURL}} and paste a link.{{attachingFiles}} dialog shows each file's progress; the image appears in the note when it's done.Two shortcuts skip the menu entirely:
::: info Images from a URL are downloaded, not hot-linked
When you use {{attachImageFromURL}}, Notesnook downloads the image and stores it as one of your attachments. The note never asks the original website for the file, so opening the note doesn't tell that site anything about you.
:::
Images are compressed before upload by default, which keeps them small and fast to sync. Turning compression off — uploading the original, uncompressed file — is a Pro feature.
When the {{attachingFiles}} dialog is set to ask, each image has a {{compress}} toggle. Turn it off for full quality, then click {{insert}}.
To change what happens by default, go to {{settings}} > {{customization}} > {{behaviour}} > {{imageCompression}} and choose {{askEveryTime}}, {{enableRecommended}} or {{disable}}.
On a plan that doesn't support full quality images, the option is greyed out. Attempting to change it will ask you to upgrade your plan.
{{imageProperties}} from the image's toolbar and type a width or a height — the other value follows automatically.Alignment lives in the same toolbar, as three buttons: {{alignLeft}}, the centering button (its tooltip reads {{alignCenter}}) and {{alignRight}}.
Selecting an image floats a small toolbar above it with {{previewAttachment}}, {{downloadAttachment}}, the three alignment buttons and {{imageProperties}}.
{{attachment}} — on desktop and web the shortcut is Ctrl+Shift+A.The attachment appears in the note as a block with its filename and size. Select it for {{downloadAttachment}}, and {{previewAttachment}} where the file type supports it. Dragging files onto the editor works for any file type, not only images.
Audio attachments render as a player with the filename, the file size and standard playback controls. Press play and Notesnook fetches and decrypts the audio before it starts — there's a short pause the first time. Selecting the player gives you {{downloadAttachment}} and, in an editable note, the option to remove it.
Select the attachment and choose {{previewAttachment}}.
Images open in a viewer. PDFs open in a preview pane beside the editor, so you can read the document and take notes on it at the same time. Drag the divider to resize the pane, and close it when you're done. See tabs & panes.
{{embed}}.{{fromURL}} tab and paste the address, setting width and height if you want, or use the {{fromCode}} tab and paste an embed snippet — the snippet has to contain an iframe with a src, and any width and height in it are used.{{save}}.Notesnook converts common sharing URLs into their embeddable form for you, so a normal YouTube link works. YouTube embeds are loaded through a Notesnook proxy so the video service can't profile you from your note, and a link to X (formerly Twitter) is rendered as an embedded post rather than a bare frame. Embed code that tries to run javascript: is rejected.
Select an embed to resize it with the bottom-right handle — embeds resize freely, without a locked aspect ratio — to align it left, center or right, or to open {{embedProperties}} and edit its source and exact size. On mobile the same buttons are grouped under {{embedSettings}} in the toolbar.
::: warning Embeds load content from the internet An embed is a live frame from another website, so opening a note that contains one makes a request to that site. Everything else in your note stays end-to-end encrypted; see how your data is encrypted.
:::
Pages saved with the Notesnook Web Clipper appear in the note as a self-contained clip with the page title in its header. Select it for:
{{fullscreen}} — expand the clip to fill the screen; press Esc to come back{{openLink}} — open the saved copy of the page{{openSource}} — open the original page the clip came fromOn mobile these live under {{webclipSettings}} in the toolbar, which offers {{fullscreen}} and {{openSource}}.