Softwr

Software · head to head

Hanko vs MJML

Hanko logo

Hanko

Software

Open-source, passkey-first authentication and user management you can self-host or run in the cloud

From
Free
Free plan
Yes
M

MJML

Software

Open-source markup language that compiles to responsive HTML email

From
Free
Free plan
Yes

The short version

  • MJML is free; Hanko starts at $29/mo.
  • Only Hanko lists passkeys, passwords and passcodes; only MJML lists responsive by default.
  • Where Hanko falls short: organisations, roles and permissions are not yet released.
  • Where MJML falls short: it is a code framework, so marketers without HTML knowledge cannot use it without a developer or a separate editor.

How do Hanko and MJML differ?

Hanko and MJML differ on pricing model and platforms. Only the attributes on which Hanko and MJML actually diverge.

Attributes where Hanko and MJML differ
AttributeHankoMJML
Pricing modelOpen-sourceOpen source, no licence fee
PlatformsWebWeb, macOS, Windows, Linux, API

Identical on both: starting price (Free), free tier (Yes).

Which features does each one have?

They share no listed features; 8 appear only for Hanko and 6 only for MJML. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in Hanko

  • Passkeys, passwords and passcodes
  • Social and OAuth login
  • MFA with TOTP and security keys
  • SAML enterprise SSO
  • Hanko Elements web components
  • Webhooks and admin API
  • Server-side sessions and revocation
  • Self-hosting or managed cloud

Only in MJML

  • Semantic components
  • Responsive by default
  • Custom components
  • Compiler to HTML
  • Open source
  • Online playground

What is each one used for?

Hanko is most often brought in for passkey-first login for consumer apps; MJML for A development team keeping email templates in git and compiling them in CI. The jobs each tool is most often brought in to do.

Hanko

  • Passkey-first login for consumer appsnot MJML
  • Self-hosted auth for privacy-sensitive productsnot MJML
  • Replacing a Firebase or Cognito loginnot MJML
  • Adding MFA to a web appnot MJML
  • EU-hosted authenticationnot MJML

MJML

  • A development team keeping email templates in git and compiling them in CInot Hanko
  • Transactional email with shared layouts across many message typesnot Hanko
  • An agency building reusable email components for several clientsnot Hanko
  • Developers who want Outlook-safe layouts without hand-writing tablesnot Hanko

Where do Hanko and MJML fall short?

Hanko's most cited limit: organisations, roles and permissions are not yet released. MJML's: it is a code framework, so marketers without HTML knowledge cannot use it without a developer or a separate editor. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Hanko

  • Organisations, roles and permissions are not yet released
  • Native iOS, Android and Flutter SDKs are still on the roadmap
  • AGPL-3.0 licence may need a commercial licence for some products
  • SAML SSO costs $49 a month per connection on top of Pro

MJML

  • It is a code framework, so marketers without HTML knowledge cannot use it without a developer or a separate editor
  • It does not send or host email, so you need an ESP and a preview tool such as an email testing service alongside it
  • Output is table-based HTML that is larger and harder to read than hand-crafted markup, which makes manual debugging of client quirks slower
  • Custom components need JavaScript knowledge, so extending it is not a no-code task
  • Origins in Mailjet and now Sinch mean the project direction depends on a vendor whose main business is selling email delivery, not maintaining the framework

How much do Hanko and MJML cost?

Hanko has a free plan, with paid plans from $29/mo; MJML is free to use. Plan by plan below, from each vendor's own pricing page.

Hanko

Free
  • StarterFree
    • 10,000 monthly active users
    • 2 projects
    • Passkeys, passwords, MFA, social login
  • Pro$29/mo
    • $0.01 per monthly active user above 10,000
    • 5 projects
    • Webhooks and admin API

MJML

Free
  • MJMLFree
    • Open-source framework
    • No licence fee
    • Community support

Which should you pick?

Choose Hanko if

  • You need passkeys, passwords and passcodes.
  • You want to start without paying.
  • You also want social and oauth login.

Choose MJML if

  • You need semantic components.
  • You want to start without paying.
  • You work on Web, macOS, Windows, Linux, API.
  • You also want responsive by default.

Questions people ask

Is Hanko or MJML better?
It depends on the job. Hanko fits passkey-first login for consumer apps; MJML fits a development team keeping email templates in git and compiling them in CI. Hanko starts at Free and MJML at Free.
Which is cheaper, Hanko or MJML?
Hanko starts at Free and MJML at Free.
Does Hanko or MJML run on more platforms?
Hanko runs on Web. MJML runs on Web, macOS, Windows, Linux, API.
Can I use Hanko for free?
Both have a free tier, so you can try either at no cost before committing.
What is Hanko best used for?
Hanko is most often used for passkey-first login for consumer apps, self-hosted auth for privacy-sensitive products, replacing a firebase or cognito login, adding mfa to a web app. Of those, passkey-first login for consumer apps and self-hosted auth for privacy-sensitive products are not what MJML is typically brought in for.
What can Hanko do that MJML cannot?
Hanko covers Passkeys, passwords and passcodes, Social and OAuth login, MFA with TOTP and security keys, SAML enterprise SSO. MJML covers Semantic components, Responsive by default, Custom components, Compiler to HTML.

Answered from the vendors’ own pages

Hanko: Is Hanko open source?

Yes. Hanko is open-source under the AGPL-3.0 licence and can be self-hosted, or used as the managed Hanko Cloud.

Source
MJML: Is MJML free?

Yes. It is open source with no licence fee.

Hanko: How much does Hanko Cloud cost?

Starter is free with 10,000 monthly active users. Pro is $29 a month plus $0.01 per user above 10,000.

Source
MJML: Does MJML send email?

No. It compiles markup to HTML; you send it with an ESP.

Hanko: Does Hanko support SAML SSO?

Yes. SAML SSO is available on Pro at $49 a month per connection.

Source
MJML: Who created MJML?

Developers at Mailjet, in early 2015.

Hanko: What counts as a monthly active user?

A user who is issued a session token at least once in a month, or whose session token is validated through Hanko, counts once for that month.

Source
MJML: Does it work with Outlook?

Its output is built to be responsive in the most popular clients, including Outlook.

Share

Related pages

Other head to heads