PSD to HTML editor in your browser

Redaktor
5 min readAug 20, 2016

--

Tool available at https://redaktor.io

Export images, styles from your psd’s right in the browser. We have prepared a introduction video.

Create a Project
On the home screen, enter project name, click create.

Enter your project name, hit <ENTER>

On the left side, project will show up. Click to open.

projects list

Code

Status bar has action icons.

code view — status bar

Left: File Manager, Tabs, Upload
Right: Open file, Layout view

Click Upload in the status bar. As an example let’s upload a PSD file.

file manager listing

On upload your file will be visible in file manager. Click it to open, a preview will appear in a few seconds.

PSD file image preview

On the right side you will see an image editor icon appear.

Home, Code View, Image Editor

Click on the image editor icon to open the photoshop document.

Image Editor

side by side — code view + image editor

Click on an image (you can select multiple images using shift+click). Click Export and image would be extracted out into (assets/images/name.[png/jpeg]) etc. This can be configured in preferences.

You can extract text as images for missing fonts.

CSS Styles for selected layers would appear right below. You can select and copy or just click insert into the target stylesheet next to Insert

Image editor statusbar — Styles, Fonts, Drag, Layers

Click on the Fonts icon in the status bar to add fonts to your project. Target can be a stylesheet or html document. Google fonts are automatically detected and loaded (so you only have to click insert to import into related css / html document)

Some fonts found inside the PSD document.

Missing fonts will appear inside alert notifications in main window.

Editor right bottom — Twitter, Feature Requests / Bugs / Issues Tracker, Preferences
Missing font notification from a PSD document opened in Image Editor

HTML / CSS

Create an index.html file.

Enter html to get a code snippet, hit ENTER to insert snippet.

Code Editor — HTML Snippets

When HTML file is open, you will see an Eye icon above Code icon, click it to edit HTML in visual mode.

Editor right-top — Home, Visual/Design, Code

Any text / design elements modified using design / code view will be in sync.

A paragraph of text entered using Design view

Linking a stylesheet to HTML is done the usual way with<link /> tag.

HTML with Stylesheet added using <link> tag

Let us go into design/code split view to see live changes between design and code.

Code Layout — choose a layout
Split View — Design / Code

Changes made in a linked css to the html document are visible as you type.

Changes made in html, css document or using the design editor are synced into code.

Design

Various tools are accessible in design view status bar.

design status bar — Draw, Styles, Outline, Responsive, Grid, Edit in External Window

Draw

Click arrow looking icon to activate the draw tool, click any where inside the design view, you will get a search preview to find and insert snippets. CSS applied to document will be applied to snippets, so you can see how it would look on insertion.

  • use up/down arrow to move between snippets, hit ESC to go back into design view.
  • hit enter in search bar to insert snippet present inside code view
  • you can modify the snippet before insertion into design view.
Draw — search snippets

Styles

Activate styles and click on an element, you will see where in your project files are styles affecting this particular element. Editing them in-place will save and update element styles.

Styles activated in design view

Responsive

Change design view to be a certain device width.

Responsive activated in design view

Grid

For aesthetics or if you like to see how things line up you can enable a grid overlay. For desktop, mobile, tablet and phablet grid sizes can be specified (per project) in preferences.

Grid overlay in design view

Preferences

Choose your shortcuts, customize the code editor and extensions that are present in various places.

Twitter, Bugs / Feature Requests, Preferences
Shortcuts under preferences

Feature Requests

Try It

--

--