diff --git a/app/templates/home.html b/app/templates/home.html
index 9f3cce16a67963bf3a573cda93dc452a8b1b8f26..3345a463ab26153ea455ab8b2d862997cb85e644 100644
--- a/app/templates/home.html
+++ b/app/templates/home.html
@@ -36,7 +36,7 @@
                   {% else %}
                   <input type="hidden" name="domain" id="domain" value={{domain}}>
                   {% endif %}
-                  <input id="short" name="short" type="text" placeholder="short name" value="{{short_url_prefilled}}"/>
+                  <input id="short" name="short" type="text" placeholder="short name" maxlength="256" value="{{short_url_prefilled}}"/>
                   {% if passwordProtected %}
                   <input id="password" name="password" type="password" placeholder="Password"/>
                   {% endif %}