Links and URLs
To add a link to a message, write the URL in full. For example:
Apply now at https://www.gov.uk/example
GOV.UK Notify will convert the URL into a link for you.
URLs should be easy to read.
If you have a long, complex web address, you may want to set up a short URL.
If your webpage is published on GOV.UK, you can contact GDS to request a short URL.
If your webpage is not published on GOV.UK, ask your IT department to set up a short URL for you.
Do not use a third-party link shortening service because:
- your users cannot see where the link will take them
- your link might stop working if there’s a service outage
- you can no longer control where the redirect goes
Link text in emails
When writing an email, you can convert text into a link instead of writing the full web address.
Link text may be useful if you have:
- long, complex URLs
- unsubscribe links
- emails that contain more than 2 links
If the recipient is not expecting to receive an email from you, we recommend using the URL instead of link text.
Link text should tell the recipient what action they need to take and where the link goes.
Never use ‘click here’, ‘click link’, ‘this link’ or ‘more’, as these do not make sense when read out of context.
How to add link text to an email
GOV.UK Notify uses Markdown to format link text.
To convert text into a link, use square brackets around the link text and round brackets around the URL. Make sure there are no spaces between the brackets or the link will not work. For example:
[Apply now](https://www.gov.uk/example)
You cannot use Markdown to add link text to a text message or letter template.
To see formatting instructions while you’re editing an email template:
- Go to the Templates page.
- Add a new email template or choose an existing email template and select Edit.
- Scroll down to see a guide to the available Markdown.